• Hey,
    In my website i am using generatepress theme. Can you say me why Back to Top Button is not Working in both mobile and desktop.

    The page I need help with: [log in to see the link]

Viewing 8 replies - 1 through 8 (of 8 total)
  • Leo

    (@leohsiang)

    Hi there,

    Any chance you can disable all plugins to eliminate conflicts from other plugins first?

    Let me know ??

    Thread Starter gojiyarockey7

    (@gojiyarockey7)

    Hey, I tried what you said and I found that the Ultimate blocks plugin is causing some issues.

    Ultimate blocks

    Now, please tell me how can I fix that issue?
    And I want to use that plugin.

    Leo

    (@leohsiang)

    Can you check with their support first?

    It’s likely something they are using is conflicting with our back to top script:
    https://github.com/tomusborne/generatepress/blob/master/assets/js/back-to-top.js

    Hi @gojiyarockey7! I’m from the Ultimate Blocks development team. We’ve examined the issue and discovered that a conflict between the scrolling methods used by GeneratePress and our plugin’s Table of Contents block is causing this issue. For now, this could be solved by turning off “Enable smooth scrolling” under “Additional Settings” > “Scroll Settings” in the Table of Content’s inspector panel.

    @leohsiang We’re using the scroll-behavior CSS property to handle smooth scrolling for our Table of Contents block. This has the side effect of slowing down your Back to Top button’s smooth scroll behavior, which uses Javascript.

    Leo

    (@leohsiang)

    Thanks for providing a solution Alexis!

    Thread Starter gojiyarockey7

    (@gojiyarockey7)

    Hey, @leohsiang Leo and @alexius08.
    I have enabled smooth scrolling and also disabled smooth scrolling. But nothing changed. It gives me same problem.

    What i have to do to fix this problem?

    @gojiyarockey7 I noticed that the cached CSS file in your page still has the old code. Have you tried clearing the cache and regenerating the CSS file? Does the problem persist if you turn off Autoptimize?

    Thread Starter gojiyarockey7

    (@gojiyarockey7)

    Hey, I Have Purged Every Cache, Lite speed Cache, Autoptimize Cache, Cloudflare cache.

    But back to top button is still not working in mobiles.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Back to Top Button not working’ is closed to new replies.