Smooth scrolling doesn't work when button is clicked
Hi, I've created a button and an anchor so when clicked, the site should scroll down to the relevant section. This happens, but not smoothly at all. When the button is clicked, you're taken to the correct section, but the expected smooth scroll doesn't happen.
Watch my screen recording to see what I mean https://videos.danzydma.co.uk/conversations/336a5c14-8f20-5f5f-be4f-5df97cb15192
- WordPress is up to date and the BeTheme
- I deactivated all plugins and that had no affect on the issue.
I hope the support team can help resolve this. Thanks!
Comments
Hi,
You need to add a scroll class to the button.
Best regards
Thanks!!!! Was searching YouTube and online, and couldn't find anywhere that gave me the correct answer. None of the videos mentioned this "one nuance" which made ALL the difference.
Glad I could help.
Indeed video explaining this functionality would be helpful. I will pass it on to the person who creates such videos.
Best regards