The CSS for our dropdown menu is also quite simple. It will need to be added to your style.css file located within your WordPress theme.
/* ---------------[ Mega Drop-Down Wine and Beer Menu ]--------------- */
ul#menu {
background: #fff;
color: #fff;
margin: 0;
padding: 0.25em 0 0.6em 0;
border-bottom: 1px solid #ccc;
border-top: 1px solid #ccc;
}
ul#menu li {
display: inline;
margin: 0.1em 0em;
position: relative;
z-index: 2;
}
ul#menu h2, ul#menu h3 {
font-size: 100%;
font-weight: normal;
display: inline;
}
ul#menu li a {
color: #2F2F2F;
text-decoration: none;
padding: 0 1em;
font-size: 105%;
font-weight: bold;
font-family: Lucida Grande,Verdana,Lucida Sans Regular,Lucida Sans Unicode,Arial,sans-serif;
z-index: 2;
}
ul#menu li a:hover {
text-decoration: underline;
}
ul#menu li.mega a {
background: transparent url(arrow.gif) center right no-repeat;
padding: 0 0.5em;
}
ul#menu li.mega a:hover {
text-decoration: underline;
}
ul#menu div {
display: none;
}
ul#menu li.mega div {
border: 1px solid #CCC;
border-top: none;
width: 25em;
position: absolute;
top: 2em;
left: 0em;
padding: 0.4em;
background: #fff;
color: #105cb6;
}
ul#menu li.hovering div {
display: block;
}
ul#menu li.mega div a {
color: #000;
padding: 0;
background-image: none;
text-decoration: none;
font-size: 11px;
}
ul#menu li div a.more {
color: #390;
font-weight: bold;
}
ul#menu div h3 {
color: #000;
font-weight: bold;
font-size: 1.1em;
}
ul#menu div p {
margin: 0 0 0.8em 0;
padding: 0;
}