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

#   Add border on main image in product view

##

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

Less More

- Posts: 17
- Thank you received: 0
-
-

11 years 1 month ago [\#216434](#216434) by [kangablu](/forum/user/12946-kangablu "View kangablu's Profile")  *[Add border on main image in product view](/forum/26-product-category-display/879681-add-border-on-main-image-in-product-view#216434 "-- url of the page with the problem -- :   access.kangablu.com/~leoniebbs/index.php...-gold-daisy-bracelet  I have tried to follow the instructions on how to change the border around products and categories on listings as I would like a border around the main image (I have managed to add it for thumbnails)  You need to edit the CSS of HikaShop via the interface in the configuration under the tab display in the CSS area. There, you can change the CSS: div.hikashop&#95;products div.hikashop&#95;subcontainer{ border: 1px solid; }  I find that when I go into the CSS file via the above method, I am unable to search to quickly locate the relevant line of code. So I open the document in cpanel/file manager /home/leoniebbs/public&#95;html/media/com&#95;hikashop/css/frontend&#95;custom.css I have searched on the above doe and I am unable to locate it (div.hikashop&#95;products div.hikashop&#95;subcontainer...)  Thanks in advance, Anne")* was created by *[kangablu](/forum/user/12946-kangablu "View kangablu's Profile")*

-- url of the page with the problem -- : [ access.kangablu.com/~leoniebbs/index.php...-gold-daisy-bracelet](http://access.kangablu.com/~leoniebbs/index.php/jewellery/bracelets/product/1-silver-gold-daisy-bracelet)

I have tried to follow the instructions on how to change the border around products and categories on listings as I would like a border around the main image (I have managed to add it for thumbnails)

You need to edit the CSS of HikaShop via the interface in the configuration under the tab display in the CSS area.
There, you can change the CSS:
div.hikashop_products div.hikashop_subcontainer{
border: 1px solid;
}

I find that when I go into the CSS file via the above method, I am unable to search to quickly locate the relevant line of code. So I open the document in cpanel/file manager
/home/leoniebbs/public_html/media/com_hikashop/css/frontend_custom.css
I have searched on the above doe and I am unable to locate it (div.hikashop_products div.hikashop_subcontainer...)

Thanks in advance,
Anne

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI2LXByb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS84Nzk2ODEtYWRkLWJvcmRlci1vbi1tYWluLWltYWdlLWluLXByb2R1Y3Qtdmlldz90bXBsPW1hcmtkb3du) 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
-
-

11 years 1 month ago [\#216483](#216483) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Add border on main image in product view](/forum/26-product-category-display/879681-add-border-on-main-image-in-product-view#216483 "-- url of the page with the problem -- :   access.kangablu.com/~leoniebbs/index.php...-gold-daisy-bracelet  I have tried to follow the instructions on how to change the border around products and categories on listings as I would like a border around the main image (I have managed to add it for thumbnails)  You need to edit the CSS of HikaShop via the interface in the configuration under the tab display in the CSS area. There, you can change the CSS: div.hikashop&#95;products div.hikashop&#95;subcontainer{ border: 1px solid; }  I find that when I go into the CSS file via the above method, I am unable to search to quickly locate the relevant line of code. So I open the document in cpanel/file manager /home/leoniebbs/public&#95;html/media/com&#95;hikashop/css/frontend&#95;custom.css I have searched on the above doe and I am unable to locate it (div.hikashop&#95;products div.hikashop&#95;subcontainer...)  Thanks in advance, Anne")*

Hi,

You can simply add such CSS:
\#hikashop_main_image{
border: 1px black solid !important;
}

The following user(s) said Thank You: [kangablu](/forum/user/12946-kangablu "View kangablu's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI2LXByb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS84Nzk2ODEtYWRkLWJvcmRlci1vbi1tYWluLWltYWdlLWluLXByb2R1Y3Qtdmlldz90bXBsPW1hcmtkb3du) 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.043 seconds

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