I have developed basic html&css styled menu that i am now trying to change to wordpress menu. Problem here is from height fluctuation. Min-height has been set to 50px and in codepen it only expands to 55px height, it will in wordpress version expand to 65px height. Any styling help for this? 55px height still looks good but 65 is too much
#main-nav{
background: #2c2c2c;
margin: 0 auto;
min-height: 50px;
border-bottom: 5px solid #cd2122;
z-index: 12;
}
#main-nav ul li {
text-transform: uppercase;
font-family: arial,Georgia, serif;
font-size:12px;
position: relative;
display: inline-block;
float: left;
border:1px solid #222222;
border-width:0 0 0 1px;
height:50px;
}
#main-nav ul li a {
display: inline-block;
height: 50px;
line-height: 50px;
color: #ddd;
padding:0 14px;
text-shadow:0 1px 1px #000;
border-left:1px solid #383838;
position: relative;}