Site logo

Archived topic

Primary navigation - sub menu position

1 reply · Started by Jason on March 16, 2021

Viewing posts 1–2 of 2

before i start playing around with css - is there a way to shift the sub-menu (the drop-down) vertically down 5-10px in the customiser? i've set my header to have 20px padding top/bottom & (to me) the drop-down's are just a little on the tight side.
this image might help explain what i mean
screenshot

Hi there,

You can try this CSS:

.main-navigation:not(.toggled) ul li.sfHover>ul, .main-navigation:not(.toggled) ul li:hover>ul {
    margin-top: 10px;
}

If it doesn't work, can you link us to the site in question to check? So I could check for the proper CSS selectors.

This archived topic is closed to new replies.