Site logo

Archived topic

Control vertical positioning of the menu items on sticky nav

3 replies · Started by Paul on December 15, 2019

Viewing posts 1–4 of 4

Hi guys

We're not using the Nav as Header but are enabling Sticky Nav. When the Sticky Nav displays, is there any way of controlling the vertical positioning of the menu items, eg: move the menu items downwards so that it's more centered to the logo, or level to its base, without increasing the height of the sticky nav?

Thanks,

Hi there,

tricky one - give this CSS a shot:

@media (min-width: 769px) {
    #sticky-navigation .inside-navigation {
        align-items: flex-end;
    }
    .main-navigation.sticky-navigation-transition .main-nav > ul > li > a {
        line-height: 60px !important;
    }
}

Thanks David

That worked well.
cheers

You're welcome

This archived topic is closed to new replies.