Home › Forums › Support › smooth scroll doesn’t work. This topic has 1 reply, 2 voices, and was last updated 4 months, 3 weeks ago by David. Viewing 2 posts - 1 through 2 (of 2 total) Author Posts October 30, 2022 at 6:52 am #2393838 eran Hi, I followed the instructions from the documentation, but it still doesn’t work. I made a table of content with the smooth-scroll class plus the smooth scroll is enabled in the customizer. How can I make it work? I added the page in the private message October 30, 2022 at 7:05 am #2393853 DavidStaff Customer Support Hi there, So the smooth-scroll class gets added to the <p> element and not the <a> using that method. And it needs to be on the <a> To fix that, Add the PHP snippet from this document to your site: https://docs.generatepress.com/article/generate_smooth_scroll_elements/ It will make any link work with the smooth scroll. Documentation: http://docs.generatepress.com/ Adding CSS: http://docs.generatepress.com/article/adding-css/ Author Posts Viewing 2 posts - 1 through 2 (of 2 total) You must be logged in to reply to this topic. Log In Username: Password: Keep me signed in Log In