How can I set up smooth scrolling to FAQ in Sense theme?

Hello!

I have FAQ “link” in my header.

The real FAQ with answers etc. is in the bottom of my page.

I would ideally like if customer cliks on FAQ in the header that the page will just scroll down where the FAQ is. Instead of going on a new page.

Can someone please help me out with this :slightly_smiling_face:

It will require some custom code to be written since current menu items wont link to places on the page

if you’re going to take on the project a good place to start would be here: https://www.w3docs.com/snippets/html/how-to-create-an-anchor-link-to-jump-to-a-specific-part-of-a-page.html

1 Like

Thank you so much! I’ll try this.

Hi @Bubblesqt

This is Richard from PageFly - Shopify Page Builder App

After you setup the link and anchor, you can add this code to have the smooth scroll

Please add this code to your theme.liquid above the to get this solved

Step 1: Online Stores > Themes > More Actions > Edit code

Step 2: click on theme.liquid and paste the code above the


Hope this can help you solve the issue

Best regards,

Richard | PageFly

2 Likes