[Support request] Back-to-Top Button with Elementor

Home Forums Support [Support request] Back-to-Top Button with Elementor

Home Forums Support Back-to-Top Button with Elementor

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #2013502
    Rick

    In the past, I have used the code on this page to change the timing of the Back-to-Top button. However, this functionality does not work with the Elementor plugin. Any suggestions on how to change the timing using Elementor?

    My test page is confidential, but I can refer you by email.

    Thanks!
    -Rick

    #2013598
    Leo
    Staff
    Customer Support

    Hi there,

    Not sure if I fully understand.

    Is the back to top button is coming from GeneratePress?

    You can use the private info field to provide the site URL if needed:
    https://docs.generatepress.com/article/using-the-premium-support-forum/#private-information

    Let me know ๐Ÿ™‚

    #2013627
    Rick

    Yes, this is the standard Back-to-Top button that is part of GeneratePress PRO. When enabled, it appears by default in the lower right of the screen when you scroll down the page. Here is the demo page with the Back-to-Top button enabled.

    #2013636
    Leo
    Staff
    Customer Support

    That’s actually an option in the free theme.

    So you are saying that this filter doesn’t work with Elementor activated?
    https://docs.generatepress.com/article/back-to-top-button/#change-how-fast-it-scrolls-you-to-the-top

    I can’t see why Elementor would cause an issue like this – can you check with their support team first?

    #2013671
    Rick

    Yes, that’s correct. The filter does not work with Elementor. With this setting in the function:

    return 1; // milliseconds

    there’s no change from the default. Will this filter work in a GeneratePress Element?

    Thanks!

    #2013673
    Leo
    Staff
    Customer Support

    Just to make sure, does returning 1 works without Elementor?

    That is fast ๐Ÿ™‚

    This isn’t an element or non-element issue.

    The filter code needs to be added with one of these methods:
    Adding PHP: https://docs.generatepress.com/article/adding-php/

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