[Resolved] Back to Top Buttons Script Help

Home Forums Support [Resolved] Back to Top Buttons Script Help

Home Forums Support Back to Top Buttons Script Help

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1318123
    Suraj Katwal

    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?

    #1318393
    Leo
    Staff
    Customer Support

    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

    #1318566
    Suraj Katwal

    Thank You, I solved it.
    Cheers.

    #1318569
    Leo
    Staff
    Customer Support

    Glad to hear 🙂

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