Cyber Week Sale! Get $20 off GP Premium, $40 off our new Lifetime license, and 45% off license renewals/extensions! Learn more

[Resolved] Remove margin top from sticky navigation

Home Forums Support Remove margin top from sticky navigation

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #146360
    Evandro Arruda

    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

    #146363
    bdbrown

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

    .main-navigation.navigation-clone {
        margin-top: 0;
    }
    
    #146369
    Evandro Arruda

    It worked perfectly bdbrown.

    Thank you so much!

    #146378
    bdbrown

    You’re welcome 🙂

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.