Site logo

Archived topic

doesn´t work the height of stycky menu for desktop and mobiles

5 replies · Started by Jorge on March 22, 2022

Viewing posts 1–6 of 6

Hi, i´m trying to set a different height (siae) for the logo in the sticky menu but when you set the height, it applies it for both desktop and mobiles, so is a bit horrible in one of them. O mean in customzie > Design > sticky navigation (In spanish is "Navegación fija")> Menu items height.

Can you tell me please how to make it different for each one?

Thanks

Hi there,

can you share a link to the site ?

Hi Jorge,

Try this CSS:

.main-navigation.sticky-navigation-transition:not(#mobile-header) .navigation-branding img, .sticky-enabled .main-navigation.is_stuck:not(#mobile-header) {
    height: 80px;
}

Thanks for your answer. How could I so, in desktop, the height of the logo in the sticky menu, is the same than the main nav. If I change it en customize > sticky menu it changes the size in mobiles also and your rule dos not work
Thanks

You can try this CSS for mobile logo:

nav#mobile-header .site-logo img {
    height: 80px;
}

Do you need the sticky mobile logo has different height from the normal mobile logo?

This archived topic is closed to new replies.