[Support request] Smooth scroll for read more button

Home Forums Support [Support request] Smooth scroll for read more button

Home Forums Support Smooth scroll for read more button

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #699186
    Heidi

    Hi All,

    I’ve got a site with a blog and when you click on the “read more” button, the smooth scroll doesn’t quite work– I think the sticky header gets in the way. Smooth scroll seems to be working elsewhere, so I am not sure if there is something different about the anchor generated by “read more” excerpt. Any advice?

    Thanks!
    Heidi

    GP Premium 1.7.2
    #699284
    David
    Staff
    Customer Support

    Hi there,

    this article explains how to add smooth scroll to all # hrefs:

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

    Not sure if this will stop the article from hitting the top of the page. Give it a shot and let us know.

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