I'm working on a site with a custom submenu (under the "Music" tab) of categories and for some reason can't get "a:active" or "current_page_item a" to show grey text on the active page. I also noticed that on any main menu page with a sub menu, the active state does not show on those pages. Can anyone help? Thanks.
CSS Help - can't get "a:active" to work on menus with category sub-pages
1 reply to this topic
Posted 19 March 2012 - 08:11 AM
Hi, The reason why this isn't working I think is that your "Music" menu item is actually the same URL for the mixes sub menu. When you view your menu using Firebug or Chrome's web dev tool, your menu item Music has no selector for current page for the reason above. You would need to change the URL of the Music menu item so that it does not use the URL for mixes. Then current page/menu item will work.