Active Menu Highlighting Problem in Joomla 1.5

plaine
Joomla! Intern
Joomla! Intern
Posts: 98
Joined: Sat May 13, 2006 5:50 pm

Active Menu Highlighting Problem in Joomla 1.5

Postby plaine » Sat Jul 14, 2007 7:40 pm

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...

User avatar
Waseem Sadiq
Joomla! Ace
Joomla! Ace
Posts: 1441
Joined: Mon Sep 12, 2005 7:41 pm
Location: Glasgow - Scotland
Contact:

Re: Active Menu Highlighting Problem in Joomla 1.5

Postby Waseem Sadiq » Sun Aug 05, 2007 11:17 pm

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
http://www.bulletprooftemplates.com/ - Joomla Templates and Consultancy


Return to “Design and Accessibility - Archived”

Who is online

Users browsing this forum: No registered users and 2 guests