Archived topic
Back to Top Buttons Script Help
3 replies · Started by Suraj Katwal on June 7, 2020
Hello,
I have added a Messenger button above the Back To Top button. Back to Top buttons only displays when we scroll down a certain height.
So my buttons generally display when the site loads in the above the fold section. I want to display my button after scrolling a certain height.
Can I use the same code/script as used in the Back to Top button?
If yes, please guide me on how to solve this issue?
Hi there,
You'd need a custom solution to implement the same script to those messages buttons.
Unfortunately, that is outside the scope of this forum.
The back to top script is here if you want to study and try to make it work:
https://github.com/tomusborne/generatepress/blob/master/js/back-to-top.js
Thank You, I solved it.
Cheers.
Glad to hear :)