Posted By

xcsteve99 on 01/25/13


Tagged

menu dropdown wordpress wp drop down


Versions (?)

Who likes this?

1 person have marked this snippet as a favorite

zemonte


Easy Wordpress Drop Downs using CSS


 / Published in: CSS
 

URL: http://www.amberweinberg.com/easy-wordpress-dropdown-menus/

Use Z-Index to make navigation layer ABOVE other elements.

  1. ul.menu, ul.menu li { float: left; }
  2. ul.menu li { position: relative; margin: 0 15px; list-style: none; }
  3.  
  4. .sub-menu { position: absolute; float: none; width: 100px; padding: 0; left: 0; }
  5. .sub-menu li { display:none; margin: 0; padding: 0; }
  6. ul.menu li:hover li { float: none; display:block; clear: both; }

Report this snippet  

You need to login to post a comment.