[Skip to main content](#vessel-content)

#   Image as border

##

- **[Storm15](/forum/user/1649-storm15 "View Storm15's Profile")**
- [![Storm15's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/1649-storm15 "View Storm15's Profile") Topic Author
- [ Offline](/forum/user/1649-storm15)

Less More

- Posts: 39
- Thank you received: 0
-
-

15 years 6 months ago [\#15831](#15831) by [Storm15](/forum/user/1649-storm15 "View Storm15's Profile")  *[Image as border](/forum/4-how-to/15831-image-as-border#15831 "Hello,  As you can see the product listing image has got a shadow-border. I think they used images for it. I've heard that you can do it with divs, but I don't get how. Is there any tutorial?  Sincerly,  Storm")* was created by *[Storm15](/forum/user/1649-storm15 "View Storm15's Profile")*

Hello,

As you can see [ here](http://hikashop.vjtemplates.com/) the product listing image has got a shadow-border.
I think they used images for it. I've heard that you can do it with divs, but I don't get how.
Is there any tutorial?

Sincerly,

Storm

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzE1ODMxLWltYWdlLWFzLWJvcmRlcj90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86561
- Thank you received: 14307
-
-

15 years 6 months ago [\#15838](#15838) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Image as border](/forum/4-how-to/15831-image-as-border#15838 "Hello,  As you can see the product listing image has got a shadow-border. I think they used images for it. I've heard that you can do it with divs, but I don't get how. Is there any tutorial?  Sincerly,  Storm")*

Hi,

There is no tutorial for that.
What they did is that they override the file listing_div of the product view via the menu Display-&gt;Views and added a bunch of divs around the product information. Then, then coupled these divs with some CSS and images in order to have the borders.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzE1ODMxLWltYWdlLWFzLWJvcmRlcj90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Storm15](/forum/user/1649-storm15 "View Storm15's Profile")**
- [![Storm15's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/1649-storm15 "View Storm15's Profile") Topic Author
- [ Offline](/forum/user/1649-storm15)

Less More

- Posts: 39
- Thank you received: 0
-
-

15 years 6 months ago [\#15844](#15844) by [Storm15](/forum/user/1649-storm15 "View Storm15's Profile")  Replied by *[Storm15](/forum/user/1649-storm15 "View Storm15's Profile")* on topic *[Re: Image as border](/forum/4-how-to/15831-image-as-border#15844 "Hello,  As you can see the product listing image has got a shadow-border. I think they used images for it. I've heard that you can do it with divs, but I don't get how. Is there any tutorial?  Sincerly,  Storm")*

I've found something with "nested divs".
Is it like this?:

&lt;div id="box"&gt;

&lt;div class="border-right"&gt;&lt;/div&gt;
&lt;div class="content"&gt;&lt;/div&gt;
&lt;div class="border-left"&gt;&lt;/div&gt;

&lt;/div&gt;

css:

.border-right {

float: right;
background-image: url(border.jpg);

]

.border-left {

float: left;
background-image: url(border.jpg);

}

or do I have some special css codes for this?
Would the way above work?

Regards,

Storm

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzE1ODMxLWltYWdlLWFzLWJvcmRlcj90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86561
- Thank you received: 14307
-
-

15 years 6 months ago [\#15846](#15846) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Image as border](/forum/4-how-to/15831-image-as-border#15846 "Hello,  As you can see the product listing image has got a shadow-border. I think they used images for it. I've heard that you can do it with divs, but I don't get how. Is there any tutorial?  Sincerly,  Storm")*

Probably.

Another solution would probably be to just use the CSS class already there and set one image as background-image. It's less flexible as the size of the image is fixed so if you change the number of columns it won't be the good size anymore, but if it's only for one website (and not a template), it should be enough and way easier to implement.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzE1ODMxLWltYWdlLWFzLWJvcmRlcj90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.047 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
