[Resolved] Make Smooth Scroll work via Custom Style CSS

Home Forums Support [Resolved] Make Smooth Scroll work via Custom Style CSS

Home Forums Support Make Smooth Scroll work via Custom Style CSS

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #2345014
    scometamus

    Dear GP-team,

    implemented a great slider plugin (Depicter, incredible tool) and implemented an anchor link. Now I am struggling on how to implement the smooth scroll function from GeneeratePress. I have the option to manipulate the button/link in the Depicter tool with Custom CSS, but I am not sure on how to implement smooth scroll there. It’s working with

    selector {
    background: green;
    }

    Maybe you can give me a hint here, would appreciate that.

    Thanks a lot in advance!

    #2345053
    David
    Staff
    Customer Support

    Hi there,

    the <a> element in the sliders HTML requires the smooth-scroll class to be included.
    If thats not possible, then see this doc:

    https://docs.generatepress.com/article/generate_smooth_scroll_elements/

    It provides a snippet so smooth-scroll applies to all links

    #2346711
    scometamus

    Okay thank you!

    #2361728
    David
    Staff
    Customer Support

    You’re welcome

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