CSS Horizontal Menu link style issue

For discussion and questions related to CMS Specific templates and stylesheets (CSS), and themes. or layout issues. This is not a place for generic "I don't know CSS issues"
Post Reply
mtjo
New Member
New Member
Posts: 3
Joined: Thu Oct 25, 2007 2:26 am

CSS Horizontal Menu link style issue

Post by mtjo »

With the CSS menu, I only want the link styles to change instead of the element background color. I have it working except the 2nd level active element does't retain its hover state. Has anyone converted their menu to this style or any suggestions?

The basic menu:
http://opensourcepartners.net/dev/menu.html

The CSS:
http://opensourcepartners.net/dev/menu.txt
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: CSS Horizontal Menu link style issue

Post by Dr.CSS »

That would be the menuactive class that you need to style atm it's lumped in with the other menu states...

#primary-nav li ul li,
#primary-nav li ul li.menu,
#primary-nav li ul li.menuparent,
#primary-nav li ul li.menuactive,
#primary-nav li ul li:hover a,
#primary-nav li ul li.menu a,
#primary-nav li ul li.menuparent a,
#primary-nav li ul li.menuactive a
{
    /** styling the appearance of active 2nd level menu items */

    color: #000;
}
Post Reply

Return to “Layout and Design (CSS & HTML)”