Drop Down Menu

CSS Design for WordPress Vartical Navigation Menus

<div id="nav_menue">
	<?php wp_nav_menu( array( 'menu' => 'headermemu') ); ?>
</div>
 #nav_menue ul li ul{
    position: absolute;
    display: none;
    top: -1px;
    left: 100%;
    width: 80%;
}
#nav_menue  ul li:hover>ul{
    display: block;
}
#nav_menue ul li{
    position: relative;
    margin-top: 0;
    list-style:none;
}
.parent> a{
    background: url(images/right.gif) no-repeat 97% 50%;
}
#nav_menue ul{
    padding: 0;
    margin: 0;
    list-style-type: none;
    font: bold 13px Verdana;
    list-style: none;
    width: 220px;
}
#nav_menue ul li:first-child{
    border-top: 1px solid #778;
}
#nav_menue ul li a{
    display:block;
    overflow: auto; /*force hasLayout in IE7 */
    color: #535353;
    font-size: 14px;
    text-decoration: none;
    padding: 6px;
    border-bottom: 1px solid #778;
    border-right: 1px solid #778;
    border-left: 1px solid #777788;
    margin-top:0;
}
#nav_menue ul li a:link, #nav_menue ul li a:visited, #nav_menue ul li a:active{
    background-color: #EDEDED; /*background of tabs (default state)*/
}
#nav_menue ul li a:hover{
    background-color: black;
    color: #fff;
}

CSS Design for wordpress Horizontal Navigation menu

<div id="header_nav_menu">
	<?php wp_nav_menu( array( 'menu' => 'headermemu') ); ?>
</div>
#header_nav_menu li a,
#header_nav_menu li {
    display: inline-block;
    text-decoration: none;
}
#header_nav_menu li a {
    border-bottom: 0;
    color: #6a6a6a;
    text-transform: uppercase;
    white-space: nowrap;
}
#header_nav_menu li a:hover {
    color: #000;
}
#header_nav_menu li {
    margin: 0 40px 0 0;
    margin: 0 2.857142857rem 0 0;
    position: relative;
}
#header_nav_menu li ul {
    display: none;
    margin: 0;
    padding: 0;
    position: absolute;
    top: 100%;
    z-index: 1;
}
#header_nav_menu li ul ul {
    top: 0;
    left: 100%;
}
#header_nav_menu ul li:hover > ul {
    border-left: 0;
    display: block;
}
#header_nav_menu li ul li a {
    background: #efefef;
    border-bottom: 1px solid #ededed;
    display: block;
    font-size: 11px;
    font-size: 0.785714286rem;
    line-height: 2.181818182;
    padding: 8px 10px;
    padding: 0.571428571rem 0.714285714rem;
    width: 180px;
    width: 12.85714286rem;
    white-space: normal;
}
#header_nav_menu li ul li a:hover {
    background: #e3e3e3;
    color: #444;
}

 

2 thoughts on “Drop Down Menu”

  1. I’m amazed, I have to admit. Seldom do I come across a blog
    that’s both equally educative and engaging, and without a doubt, you have hit the nail on the
    head. The issue is an issue that not enough men and women
    are speaking intelligently about. Now i’m very happy that
    I found this in my search for something relating to this.

Comments are closed.