logo
Ask your WordPress questions! Pay money and get answers fast! (more info)

Michael Caputo

Website Twitter



Written in response to something Gabriel Reguly wrote.

The solution required showing a sub menu when on a parent or child page, also still allowing the user to navigate to the other sub pages. With out the original code, I don't know how much use this would be, but this is the CSS I supplied to Terry:



#menu-navigation li.current_page_parent ul.sub-menu,#menu-navigation li.current_page_item ul.sub-menu{display:block;z-index:0}
#menu-navigation li ul.sub-menu{background:#EFEBE7;z-index:10;width:650px}
#menu-navigation li.current_page_parent > a,#menu-navigation li.current-menu-item > a{background:#E0922F;}
#menu-navigation ul li.current-menu-item > a{background:#766AA4;}


Responses:

Updated: 08/16/12 10:31am


Upvote / Downvote

3 groups of people are allowed to vote for discourse:

All votes are public.

You are not allowed to vote: