How to add Border around category menu

ThemeBurn SupportForumsOpenCart ThemesShoppica 2 OpenCart ThemeHow to add Border around category menu

This topic has been marked as resolved.

Hi,

I want to add a 1px border around a category menu which I have to the left of my home page (site still in testing). Any ideas ?

Thanks

 adsw
April 24, 2013 at 4:30 pm #22487

Hi;

Open this file: catalog/view/theme/shoppica2/template/module/category.tpl
Then find this line code (it should be the first line) :

<div class="s_categories_module s_box">

change it to :
<div class="s_categories_module s_box_1" style="border: 1px solid #ddd">

Best regards.
Sam

 samdz
April 24, 2013 at 5:33 pm #22489

Hi Sam,

Thanks for this – working great :)

Looking to do the same with bestseller and banner modules. Tried to amend the similar div class lines of code in bestseller.tpl and banner.tpl but it didn’t work. Any ideas ?

Thanks

Adrian

 adsw
April 24, 2013 at 11:40 pm #22501

Hi;

Also works but you get small move with the last product (try to see it),

So find this code for the module bestseller.tpl :

<div class="s_box clearfix">

then change it like this:
<div class="s_box_1 clearfix" style="border: 1px solid #ddd">

for the banner add this code : style="border: 1px solid red" after <img (there is two place).

Note this code works with banner.tpl (module with opencart) and banners.tpl (banner module with shoppica) so if you use shoppica banner you need to edit banners.tpl not banner.tpl

Best regards.
Sam

 samdz
April 25, 2013 at 12:57 pm #22527

Hi Sam,

Thanks again for your help, worked a treat :)

Cheers

Adrian

 adsw
April 26, 2013 at 12:32 am #22545

@samdz

Thanks for your help :)

April 30, 2013 at 12:10 pm #22712
Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.