Change box heigt op dropdown menu item
-
I am trying to change the height of my dropdown menu in Twentyten. I want the 3 dropdown items to be closer together (some height as my menu bar)
Here’s the site in progress, the problem sits in the menu IN STOCK: https://www.schlichtebergen.com/Wordpress
Preferably I have a thin white line between each drop down item.
I can’t figure out where to edit the height of each box. Would someone here has a clue to help me out?
This is the current css of the menu part:
/* =Menu
————————————————————– */#access {
background: #444b46;
margin: 0 auto;
width: 940px;
display:block;
text-transform:uppercase;
font-family: Arial;
float:left;
}
#access .menu-header,
div.menu {
font-size: 12px;
font-weight: normal;
margin-left: 20px;
}
#access .menu-header ul,
div.menu ul {
list-style: none;
margin: 0;
}
#access .menu-header li,
div.menu li {
float:left;
position: relative;
}
#access a {
display:block;
text-decoration:none;
color:#fff;
padding:0 30px;
line-height:28px;
}
#access ul ul {
display:none;
position:absolute;
border: 1px solid #FFFFFF;
top:28px;
left:0;
float:left;
box-shadow: 0px 3px 3px rgba(0,0,0,0.2);
-moz-box-shadow: 0px 3px 3px rgba(0,0,0,0.2);
-webkit-box-shadow: 0px 3px 3px rgba(0,0,0,0.2);
width: 150px;
z-index: 99999;
}
#access ul ul li {
min-width: 120px;
}
#access ul ul ul {
left:100%;
top:0;
}
#access ul ul a {
background:#444b46;
line-height:1em;
padding:30px;
width: 108px;}
#access li:hover > a,
#access ul ul :hover > a {
color:#819484;
background:#444b46;
}
#access ul li:hover > ul {
display:block;
}
#access ul li.current_page_item > a,
#access ul li.current-menu-ancestor > a,
#access ul li.current-menu-item > a,
#access ul li.current-menu-parent > a {
color: #819484;
}* html #access ul li.current_page_item a,
* html #access ul li.current-menu-ancestor a,
* html #access ul li.current-menu-item a,
* html #access ul li.current-menu-parent a,
* html #access ul li a:hover {
color:#819484;
}
- The topic ‘Change box heigt op dropdown menu item’ is closed to new replies.