Add class to top menu items which contain subcategories

Tagged: 

ThemeBurn SupportForumsOpenCart ThemesShoppica OpenCart ThemeAdd class to top menu items which contain subcategories

This topic has been marked as resolved.

HI , how & where can I add a Css class to the topmenu items ?
I only want to apply this class to those categories with subcategories..
thanks.

March 26, 2012 at 10:14 am #7492

add this into the shoppica.js

$(“div.s_submenu”).parents().addClass(‘parent’);

March 26, 2012 at 10:50 am #7495

Hi,

You can also check this topic: http://support.themeburn.com/topic/2-categories-in-another-color-in-the-menu

Best,
ThemeBurn team

March 26, 2012 at 6:22 pm #7527
Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.