Scroll to top button

Hi all,

I am trying to get the buttons of my password page to scroll to the top of the page. Can you help me how to do this?

My page is: https://shopnordinary.com/password

Thank you!

Hi @algo1357

You can do that by adding this value to link of the button

#MainContent
1 Like

Hi @algo1357 ,

Are you referring to this button?

Please go to Customize and add link here:

Code:

#shopify-section-main-password-header
1 Like

Thanks a lot! Do you know if there is a way to make the scroll smooth instead of jumping to the top of the page?

Thank you!!

1 Like

Hi @algo1357 ,

If you have any questions, you can contact me directly.
Happy to help you :blush: