Posted By

amyb on 04/04/11


Tagged

wordpress


Versions (?)

Who likes this?

1 person have marked this snippet as a favorite

hkamci


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


 / Published in: CSS
 

  1. .sub-menu { display: none; }
  2. .current_page_item .sub-menu, .current_page_parent .sub-menu { display: block; }

Report this snippet  

You need to login to post a comment.