Archived topic
navigation space left
3 replies · Started by pke on February 11, 2020
Hi
when i want 40 px space on the left side of the main navigation (like on the main page/content) i also alway have also 40 px space between the menues.
How can i place the navigation, that it starts 40 px from left - but the space between menues is just 10 px??
Thanks pke
Hi there,
you can use this CSS to increase the left padding of the first menu item:
@media (min-width: 769px) {
.main-navigation .main-nav ul li:first-child > a {
padding-left: 40px;
}
}
Then you can change the menu item spacing in the Customizer > Layout > Primary Navigation.
Hi David
thanks! works perfect. Have a nice day!
pke
You're welcome