Return to Snippet

Revision: 43976
at April 4, 2011 22:39 by amyb


Initial Code
.sub-menu { display: none; }
.current_page_item .sub-menu, .current_page_parent .sub-menu { display: block; }

Initial URL

                                

Initial Description

                                

Initial Title
Wordpress - only show sub menu when parent selected (for wp_nav_menu)

Initial Tags
wordpress

Initial Language
CSS