Highlight a single category

ThemeBurn SupportForumsOpenCart ThemesShoppica OpenCart ThemeHighlight a single category

This topic has been marked as resolved.

I have searched these forums and tried to find a solution however I can’t seem to get this implemented correctly.

In the top level category menu I am placing a “SALE” which I would like to style and add a CSS class to, how do I output the category id so I can select it via CSS?

I found the solution below for the default theme

/catalog/controller/module/category.php

Code:
$output .= ”;

change to

Code:
$output .= ”;

Can someone point me in the right direction and shed some light on this please?

 wmUser
August 19, 2011 at 8:02 pm #888

Anybody? am using version V1.4.9.5

 wmUser
August 22, 2011 at 2:30 pm #967
You will need to register in order to post topics and read replies in the ThemeBurn.com support forums!
August 24, 2011 at 1:55 pm #1049

Ace! thank you

 wmUser
August 24, 2011 at 2:32 pm #1051

Glad we’ve helped :)

August 24, 2011 at 2:56 pm #1052

Hi

Just tried the above code and it’s throwing up an error?

Please can you check if it is correct

Thanks

 wmUser
August 24, 2011 at 8:20 pm #1064

Hi,

The system (or us by mistake) has stripped a “{” from the second code snippet. We have fixed it and it should work now.

August 24, 2011 at 9:37 pm #1070

Brilliant :)

 wmUser
August 26, 2011 at 7:05 pm #1125

Glad, we’ve helped :)

August 28, 2011 at 3:16 pm #1173

Great!

However when I mouseover then out, it goes back to the original background color. Can’t seem to find the css I need to change this.

Cheers

March 11, 2012 at 5:45 pm #7009
You will need to register in order to post topics and read replies in the ThemeBurn.com support forums!
March 14, 2012 at 10:48 am #7091

Hi

I am using Shoppica2 theme and can’t find “catalog/controller/module/shoppica.php” file.

Please help.

Thanks,
Mark

February 1, 2013 at 1:54 pm #17941

@oregapam

You don’t have to modify anything, as in Shoppica 2 every menu has a unique ID, which can be used for custom styling.

Best,
ThemeBurn team

February 4, 2013 at 4:04 pm #18098
Viewing 13 posts - 1 through 13 (of 13 total)
  • You must be logged in to reply to this topic.