How can I add a scroll-snap-stop effect to my collection page?

Yory
Visitor
1 0 1

Hi, 

 

I'm trying to add a scrolling effect like the one on the Tesla site to my collection page, but i can't figure out where to put the code and how to fit it properly.

I'd like products to be centered when scrolling vertically, especially on mobile.

Here you find the effect explained: https://developer.mozilla.org/en-US/docs/Web/CSS/scroll-snap-stop 

 

I'm using the Mandolin Theme.

 

Thanks 🙂

Y.

Reply 1 (1)

Zqdo
Shopify Partner
803 32 63

Could I have the link to your website? It would make it much easier to help you out. Thanks!

banned