Scroll snapping - Forum | JoomShaper
Awaiting an answer SP Page Builder

Scroll snapping

Asked by Andrea 5 years ago Last activity 5 years ago

Hi,
I'm using this code to scroll inside different sections :

html { scroll-snap-type: y mandatory;
overflow-y: scroll;
scroll-behavior: smooth;}

body { scroll-snap-type: y mandatory;
 scroll-snap-type: y proximity; 
overflow-y: scroll;}

.scrollsection {scroll-snap-align: start;}

but it seems does not work : https://cosmopolitangolf.stefanato.com/
Have you kindly any suggestions ?
Thanks in advance.

3 replies

Toufiq Senior Staff

Hi there,

Thanks for contacting us. Sorry to say that, customization support is fully prohibited from our support policy.

-Thanks

Paul Frankowski Senior Staff

Instead of code that may not work in all browsers use more universal code or ready plugin for smooth scrolling.

Log in to reply.