[Resolved] Sticky Navigation style on scroll

Home Forums Support [Resolved] Sticky Navigation style on scroll

Home Forums Support Sticky Navigation style on scroll

Viewing 15 posts - 1 through 15 (of 27 total)
  • Author
    Posts
  • #212187
    Krzysztof

    I want to create style for main navigation just like on this website: https://nojobnofun.com/ I set “Sticky Navigation” to “Both” and “Sticky Navigation Effect” to “None”, everything works except restoration menu style when scroll is on the top of page – menu still have class “is_stuck”. Is any way to fix it?

    #212259
    Tom
    Lead Developer
    Lead Developer

    I remember that was a bug a long time ago but it shouldn’t happen anymore.

    What version of GP Premium are you using?

    #212264
    Krzysztof

    I have lastest version – 1.2.88.

    #212285
    Tom
    Lead Developer
    Lead Developer

    Can you link me to the page?

    #212327
    Krzysztof
    #212343
    Tom
    Lead Developer
    Lead Developer

    That’s a bug.

    I had JUST released an update when you posted this, but I just snuck this fix into it.

    If you haven’t already updated, then updating will fix it.

    If you have, then just change the version number in the gp-premium.php file, or update manually to get the fix 🙂

    Thanks!

    #212421
    Krzysztof

    Seems to be okay but now I see problem on mobile Chrome – class “is_stuck” sometimes is removing when we scroll up page but we not on the top of page.

    #212432
    Tom
    Lead Developer
    Lead Developer

    Testing it out on mobile using Chrome and it looks normal to me?

    #213784
    Krzysztof

    #213870
    Tom
    Lead Developer
    Lead Developer

    Interesting, if you remove your custom CSS for resizing, do you notice any weirdness with the regular sticky effect?

    #213887
    Krzysztof

    When I changing only the color the problem is the same 🙁

    #213907
    Tom
    Lead Developer
    Lead Developer

    So when the sticky navigation is completely default – no custom code from your end, the issue still happens?

    #213909
    Krzysztof

    I think yes, I added only this code and issue still happens:

    #site-navigation.main-navigation.is_stuck .inside-navigation{
    color:red;
    }
    #213911
    Tom
    Lead Developer
    Lead Developer

    Your resizing CSS still seems to be happening?

    #213912
    Krzysztof

    I added only this code and issue still happens:

    #site-navigation.main-navigation.is_stuck .inside-navigation{
    color:red;
    }

    I mean instead of resizing I have default white color so class “is_stuck” sometimes is still removing when we scroll up page but we not on the top of page.

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