Archived topic
Smooth-scroll not working
3 replies · Started by I on October 27, 2018
Hi I've read over a few of the smooth scroll pages and can't figure out the answer. I'm simply trying to get my navigation to smooth scroll to an anchor id.
Hi there,
If Smooth Scroll is activated in Customize > General, you just need to give your menu item this class: smooth-scroll
You can see how to add menu item classes here: https://docs.generatepress.com/article/using-the-wordpress-menu-builder/#custom-classes
ah that hasn't solved it I'm afraid.
Your menu item URLs currently have home-page-2 in them. If you remove that, it should work.