Please Help, Been looking for a solution for weeks. current-menu-item issue
-
I’ve been posting about this for weeks and for whatever reason no one seems to know what the issue is, I’m dying for a fix…
When I add a style attribute to a the .current-menu-item that is in a drop down it effects the whole drop down list, not just the current menu item.
Here’s a link to site: ericbrockmanwebsites.com/dev4 (still very much a work in progress)
Here’s the CSS
#nav { display: block; margin-left: 575px; position: absolute; top: 78px; width: 400px; } #nav .menu, #nav .menu ul { list-style: none; } #nav .menu li { float: left; } #nav .menu a { float: left; display: block; color: #999; padding: 9px 10px; text-decoration: none; font-size: 14px; font-family: Helvetica, Arial, sans-serif; } #nav .menu a:hover { color: #ccc; } /* Styling for current parent item */ #nav .menu li.current-menu-item a, #nav .menu li.current-menu-parent a { opacity: 0.5; } /* Styling for sub-menus */ #nav .menu li ul { position: absolute; width: 100px; left: -999em; margin-top:30px; padding-top:15px; } #nav .menu li ul li a { font-size: 11px; color: #999; width: 100px; border-bottom: 1px solid #ccc; text-transform: none; } #nav .menu li.current-menu-item ul li a { display: block; } #nav .menu li ul li a:hover { color:#ccc; } #nav .menu li:hover ul, #nav .menu li li:hover ul, #nav .menu li.sfhover ul, #nav .menu li li.sfhover ul { left: auto; }
Thanks in advance for any help!!
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Please Help, Been looking for a solution for weeks. current-menu-item issue’ is closed to new replies.