Site logo

Archived topic

Remove margin top from sticky navigation

3 replies · Started by Evandro Arruda on October 21, 2015

Viewing posts 1–4 of 4

Hi Tom,

I have a margin top of 40px on my navigation menu for tablet and desktop views to align the menu with the logo, but now that I'm trying to use a sticky navigation, this margin is creating a blank space when scrolling.

Is there a way to remove margin-top only on sticky navigation?

Here's the page I'm talking about: http://funnew.com.br/blog/

Thanks

Hi Evandro. Give this a try in your custom css:

.main-navigation.navigation-clone {
    margin-top: 0;
}

It worked perfectly bdbrown.

Thank you so much!

You're welcome :)

This archived topic is closed to new replies.