Page 1 of 1

Active Menu Highlighting Problem in Joomla 1.5

Posted: Sat Jul 14, 2007 7:40 pm
by plaine
Hello:

I'm having an issue with current menu highlighting in 1.5.  I only want a different style designated for the current menu item.  I see that in the code, it generates the li id "current" which seems to be what I want to add to my stylesheet, however when I add a class for .current, it ends up highlighting all of the child menus as well.  I wouldn't want the parent nor the child menu to be a different state, ONLY the current menu item.

Advice?  Thanks...

Re: Active Menu Highlighting Problem in Joomla 1.5

Posted: Sun Aug 05, 2007 11:17 pm
by Waseem Sadiq
Instead of adding a class (.current) you need to add an ID (#current) like this:

Code: Select all

li#current {
your:style rules;
}
Hope this helps,

Waseem