Site logo

Archived topic

Back-to-Top Button with Elementor

5 replies · Started by Rick on November 21, 2021

Viewing posts 1–6 of 6

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

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.

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!

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/

This archived topic is closed to new replies.