[Resolved] Back-to-top Button Scroll Effect for Menu Items

Home Forums Support [Resolved] Back-to-top Button Scroll Effect for Menu Items

Home Forums Support Back-to-top Button Scroll Effect for Menu Items

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #2037768
    Marko

    Hello,

    I have a “One-Pager” Website where the Menu Items point to HTML-anchors on the website.
    When I click on a Menu Item it just jumps to the place where I have set the anchor.

    Would it be possible to add the nice movement of the “Back-to-top Button” to my menu items, so it “scrolls down” when the users clicks on a menu item.

    I tried it with adding “transition: opacity 300ms ease-in-out;” to the menu items, but not sure if this is all that I need.

    Anyone an idea how I could solve this?

    Thanks
    Marko

    #2037796
    Ying
    Staff
    Customer Support

    Hi Marko,

    Here’s a guide on how to use smooth scroll:
    https://docs.generatepress.com/article/smooth-scroll/

    Let me know if you need further assistance ๐Ÿ™‚

    #2039329
    Marko

    Thanks Ying,

    works perfectly!

    #2039483
    Ying
    Staff
    Customer Support

    Awesome!

    You are welcome ๐Ÿ™‚

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