How to code a button that directs user to a specific position on the page?

On my page, I have a section that highlights a customer review and I want the button in the section to redirect the viewer to the product reviews, located at the bottom of the page. Can somebody help me with this? Do I need to add specific code and where would I position it?

Here is the link to the page: https://foodoverdrugs.com/collections/all/products/parasite-cleanse

Thank you!

1 Like

@anelimk

yes, let me know where did you add that code?

Hi @anelimk

This is PageFly - a Free Shopify Landing Page Builder. You can try to add this code to theme.liquid > scolling down to the bottom > add it before to archive that:

Or one more easier way is use scroll to section function of the button from PageFly - a Free Shopify Landing Page Builder. You can totally archive what you designed by a few clicks.

It would be a good choice for you to have professional sites that look incredible on mobile & desktop without any extra coding, and you will have lots more time focusing on marketing strategies, so you can consider checking PageFly with 24/7 support live chat.

If you feel my answer is helpful, like it or give it a thumb up. Let me know if you have any questions. Cheers!

1 Like

Hey @anelimk

Yes this is possible but needs to be done by Javascript. Can you tell me on which button click you want to scroll the page to reviews.