Archived topic
Distance from the first element in the submenu
3 replies · Started by Ricardo on August 7, 2019
Hi Guys,
I am trying to reduce the distance in my submenu. But only from the main navigation and the first element of the submenu. There's way too much distance and I can't reduce it in the customizer.
Please have a look. Is there a bit of CSS that solves this?
Thanks and regards!
Hi there,
it is because of this CSS that you have added:
.main-navigation ul {
padding-top: 65px;
}
If you want that top padding only on the main nav then use this instead:
.main-nav > ul {
padding-top: 65px;
}
Thank you so much David. Problem fixed!
You're welcome