What's your biggest current challenge? Have your say in Community Polls along the right column.

Single page website

Single page website

LiftingRealm
Visitor
2 0 0

What I wanted to do was so that I click a button or a link and instead of it going to a different page, I wanted it to just go to a certain place in the page. I did that using this advice:

 

"In the custom liquid section, enter this code.

<div id="comparison"> </div>
Explanation: This creates an empty html container with an ID that we can now reference in the button to scroll to.
For the button that you want to have scroll to the section, change the URL to "#comparison"."

 

But with this it scrolls down instantly. I wanted to know if it's possible to make it go down smoothly and slowly.

Replies 0 (0)