How can I make a menu option scroll down to a section on the home page?

Solved
Highlighted
New Member
2 0 1

Hey,

How can I make one of my header menu options, 'Shop', to be able to scroll down automaticly to a certain section on the home page instead of it opening a new page (collection page).

 

My website is: https://www.trimsane.com/ 

 

Thank you.

1 Like
Highlighted
Shopify Partner
4801 711 1519

This is an accepted solution.

@Ahsan213 

Thanks for post

can you please try ths 

https://www.w3schools.com/jquery/tryit.asp?filename=tryjquery_eff_animate_smoothscroll

if  you have any issue let me know i can help you.

 

If helpful then please Like and Accept Solution.
Want to modify or custom changes on store Hire me.
- Feel free to contact me on bamaniyaketan.sky@gmail.com regarding any help
Shopify Expert | Skype : bamaniya.sky
PSD to Shopify | Shopify Design Changes | Shopify Custom Theme Development and Desing | Custom Modifications In to Shopify Theme | SEO & Digital Marketing
0 Likes
Highlighted
New Member
2 0 1

Hey,

 

Thank you it does work now. However it only works from the Home page, not any other pages. (The section I need to scroll to is on the home page) For example, if I click on 'Shop' from the 'Contact' page, it will not work, but some text will be added into the URL. Try it to see what I mean. Do you know how I can fix this so it works on all pages?

 

0 Likes
Highlighted
Shopify Partner
4801 711 1519

This is an accepted solution.

@Ahsan213 

Yes, this code apply only home page other page add to link add on your custom code.

If helpful then please Like and Accept Solution.
Want to modify or custom changes on store Hire me.
- Feel free to contact me on bamaniyaketan.sky@gmail.com regarding any help
Shopify Expert | Skype : bamaniya.sky
PSD to Shopify | Shopify Design Changes | Shopify Custom Theme Development and Desing | Custom Modifications In to Shopify Theme | SEO & Digital Marketing
0 Likes