Trishah Woolley
asked 10 years ago

I want to target a home page section with the Home Section button, which works fine, but it jumps down the page instead of smooth scroll.  How to I add smooth scroll to the button, or to any other link on the page?
Thanks so much for a great theme!

1 Answers
answered 10 years ago

Hi Trishah,
To have the smooth scroll  for the link, you need to add class gotosection to the link that you want. For example: 

<a href="#home" class="gotosection">home</a>

Hope this helps!  

Trishah Woolley
replied 10 years ago

Yep, that did it. Thanks so much!

Powered by DW Question & Answer Pro