Site logo

[Resolved] Smooth scroll speed

Home Forums Support [Resolved] Smooth scroll speed

Home Forums Support Smooth scroll speed

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #2133597
    Olle

    Hi
    I use this for trying to speed up the “general” smooth scroll effect.

    add_filter( ‘generate_smooth_scroll_duration’, ‘tu_smooth_scroll_duration’ );
    function tu_smooth_scroll_duration() {
    return 800; // milliseconds
    }

    But whatever I do it seem to be the same speed. Check out.

    https://olle.dyndns-ip.com/luftskeppet/

    its set to
    return 100; // milliseconds

    Seems the same as
    return 800; // milliseconds

    What to do?

    #2133625
    David
    Staff
    Customer Support

    Hi there,

    what happens if you temporarily disable the Smooth Scroll in Customizer > General ?

    Just wondering whether Beaver Builder is adding smooth scroll to.

    #2134299
    Olle

    Hi
    Yes you are right! BB is adding the smooth scroll automatically and it can’t be turned off globally.
    So I had to turn of the GP smooth scroll.

    Thank you.
    Olle

    #2134369
    David
    Staff
    Customer Support

    Yeah thats a pain – i am not sure why they haven added a filter to remove it.
    Glad to hear you found the issue.

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