Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /* =Menu
- -------------------------------------------------------------- */
- /* In header.php rename #access to #nav */
- #nav {
- background: #000;
- display: table;
- float: left;
- margin: 0 auto;
- width: 940px; height:auto;
- }
- #nav .menu-header,
- div.menu {
- font-size: 13px;
- margin-left: 0px;
- width: 928px;
- }
- #nav .menu-header ul,
- div.menu ul {
- list-style: none;
- margin: 0;
- }
- #nav .menu-header li,
- div.menu li {
- float: left; position: relative;
- margin:0
- }
- #nav a {
- color: #fff; font:bold 11px arial;
- text-transform:uppercase;
- display: table;
- line-height: 38px;
- padding: 0 10px;
- text-decoration: none;
- }
- #nav li.green a {background:green}
- #nav li.pink a{background:pink}
- #nav li.blue a{background:blue}
- #nav ul ul {display:none; position: absolute;
- top: 38px;
- left: 0;
- float: left;
- width: 180px;
- z-index: 9999;}
- #nav ul li.current-menu-item > ul,
- #nav ul li.current-category-ancestor > ul,
- #nav ul li:hover > ul
- { display: block;}
- #nav ul li:hover > ul
- { position: absolute;
- top: 38px;
- left: 0;
- float: left;
- width: 180px;
- z-index: 99999;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement