Archived topic
Scroll back to top button
10 replies · Started by June on March 27, 2022
Hello, how can I add scroll back to top button in my website? Please assist.
Hi there,
go to Customizer > Layout > Footer and enable the Back to Top.
https://docs.generatepress.com/article/footer-layout-overview/
Thank you, David :)
But I have one issue. I'm changing the background color of button on hover but its not changing.
Is this the setting you are using?
https://www.screencast.com/t/ydozxC0HZ9Ny
Just tried it and it works for me.
Thanks, Leo :) Its working for me too.
And I also want the button to stop before footer.
Your assistance is highly appreciated.
And I also want the button to stop before footer.
That's not possible without modifying the script unfortunately.
We do have a filter to change how far from the top it appears:
https://docs.generatepress.com/article/back-to-top-button/#change-how-far-from-the-top-it-appears
Can we modify the script please or at least you could give me the hint so I could try my luck on it please.
Unfortunately it's not one of the files that can be modified and saved through updates even with a child theme.
There isn't a section in the script that allows you to modify when the button disappears either.
Thanks for your understanding.
ok. No problem.
Is there anyway to center the back to top in a element?
Like this:
Hi Steve,
May you start a new topic regarding this?