Edit your style.css theme file and insert the following
or
install a plugin Custom CSS
and insert the following code
.main-navigation .nav {height: 40px;}
You can edit 40px to your choice
Andrew Nevins
(@anevins)
WCLDN 2018 Contributor | Volunteer support
Your menu items have a bottom margin of 10 pixels:
- Open your website in Chrome;
- Right click on a menu item;
- Left click on “Inspect element”;
- A new toolbar appears. Hover your mouse over the
<li>
element.
Orange represents margin and green padding;
- Click on the
<li>
element and look to the right of the toolbar;
- In the right hand column scroll down until you see this style:
.main-navigation .nav > li {
float: none;
display: inline-block;
margin-bottom: 10px;
zoom: 1;
}
Override that in your Child Theme style.css file;
.main-navigation .nav > li {
margin-bottom: 0;
}
Edit: You might want to apply that to desktop only.
Thank you guys! YOU DID IT!