How to Make a Button on a Page Scroll to a Section Within that Same Page?

Highlighted
New Member
4 0 0

Warm greetings to Shopify community!

I'm trying to make the button on the first section of my homepage scroll to another section within that same page.

How may I accomplish this?

0 Likes
Highlighted
Shopify Partner
843 127 141

Hi There!

This thread on stackoverflow should help you out: https://stackoverflow.com/questions/19012495/smooth-scroll-to-div-id-jquery

The top solution with 673 votes is the quickest way to do it. You can always check the demo as well.

- Did we solve your issue? Like & Mark As Solution to help the community
- Should you need any direct help: contact@jhkconsultancy.com
K&J
0 Likes
Highlighted
New Member
4 0 0

As I am neither versed nor familiar with web programming languages, the code is all too alien to me.

I really just need to make a button scroll to another section, instead of directing towards another page.

You seem to to have the technical expertise to accomplish this. May I ask for your help?

0 Likes
Highlighted
Shopify Partner
843 127 141

Would you mind sharing your store's URL? I'll see what I can do!

- Did we solve your issue? Like & Mark As Solution to help the community
- Should you need any direct help: contact@jhkconsultancy.com
K&J
0 Likes
Highlighted
New Member
4 0 0

Sure!

LaptopBrokers

What needs to be done in particular is to get the "GET THE MOST OUT OF YOUR MONEY" button scroll to the Collections Section.

Thanks a lot for offering a helping hand.

0 Likes