[Resolved] Snap scroll disables sticky header

Home Forums Support [Resolved] Snap scroll disables sticky header

Home Forums Support Snap scroll disables sticky header

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #2260614
    Encrypto

    Hi,

    I am working with Elementor Pro v3.7.1 and when I enable “snap scroll” on the page, it appears to stop the sticky header from working at all.

    Do you have any suggestions?

    TYIA!

    #2260667
    Fernando
    Customer Support

    Hi Encrypto,

    I see. To clarify, do you have Sticky Nav turned on for both Desktop and Mobile?

    Does this Snap Scroll function work for all views as well, and do you have it turned on right now?

    Kindly let us know.

    #2261764
    Encrypto

    Hi Fernando,

    Yes sticky nav is switched on for both desktop and mobile.

    Snap scroll works on both desktop and mobile.
    It is currently active no this homepage I shared with you.

    If I deactivate scroll-snap and change nothing else, the sticky nav comes back and works as expected.

    In Elementor it can be toggled on and off by going to “page settings” > “Advanced”

    #2261811
    Fernando
    Customer Support

    I see. Thank you for clarifying.

    Perhaps you can reach out to Elementor as to why the Snap Scroll functionality is affecting the JS of the sticky nav functionality in GP?

    Otherwise, we can probably use custom CSS to make the nav Sticky.

    For instance, you can try adding this CSS in Appearance > Customize > Additional CSS:

    nav#site-navigation {
        position: sticky;
        top: 0;
    }
    
    nav#mobile-header {
        position: sticky;
        top: 0;
    }

    Kindly let us know.

    #2263892
    Encrypto

    Hi Fernando,

    Thanks for your support, your CSS provides a usable workaround.

    I have spoken with Elementor support and they advised that this functionality is still in experimental stage and that is most likely the result of the compatibility problems.

    Thanks again!!

    #2265214
    Fernando
    Customer Support

    You’re welcome! Glad to be of assistance!

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