[Resolved] Smooth Scrolling by default (without specifying class)

Home Forums Support [Resolved] Smooth Scrolling by default (without specifying class)

Home Forums Support Smooth Scrolling by default (without specifying class)

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #1055701
    Samuel

    Hi,

    Is there a way to force all anchors links to use the smooth scrolling function by default ? Without having to specify class for each anchor ?

    I’m redesigning a whole site with a bunch of content in it and I would save lot’s of time if it was possible.

    Thanks for your help,
    Samuel

    #1055702
    Samuel

    Ho ! I just found that there was a snippet for this : https://docs.generatepress.com/article/generate_smooth_scroll_elements/

    And it works nicely ! Sorry about that

    #1055792
    David
    Staff
    Customer Support

    Glad you found the solution

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