Site logo

Archived topic

Enhance spacing between menu and sub menu

3 replies · Started by scometamus on March 20, 2023

Viewing posts 1–4 of 4

Dear GP-Support,

as written in the title I was trying to get a little more space between a main menu item and the expanding sub menu.

I found the following code in this support forum that solved the issue visually for me.

@media (min-width: 769px) {
    .main-navigation ul ul {
        margin-top: 0.5em;
    }
}

However, when I have this code active in css, I can't move the mouse to the sub menu item, before I reach that, the menu already closes. So I suppose the code is not really working for my site or I did something wrong.

I disabled the code now. Looking forward to you thoughts!

Hi there,

the simplest fix is to:

1. Customizer > Layout > Primary Navigation and increase the Menu Item Height.

2. Then if needed reduce the Top Padding from the Customizer > Layout > Header

Hi David, that worked perfectly!

Huge thanks!

Glad to hear that!

This archived topic is closed to new replies.