Viewport Scroll On Pagebuilder (scroll-snap) - Question | JoomShaper

Viewport Scroll On Pagebuilder (scroll-snap)

A

Andrea

SP Page Builder 4 years ago

Hi, I do not understand why the css command "scroll-snap-align" does not work with SP pagebuilder. Here https://www.unifill.it/landing-page I have created the 3 CSS Class into the 3 rows (.section1) and the command .page-content { scroll-snap-type: y mandatory!important; } Unfortunately this dos not work. Eventually can you suggest any JS alternative to scroll "snap" into viewport sections ? (like this: https://codepen.io/michellebarker/pen/PowYKXJ) Thanks in advance. Regards.

0
4 Answers
Pavel
Pavel
Accepted Answer
4 years ago #18787

Hi. It works. You just did not finish.

.page-content {
    scroll-snap-type: y mandatory;
    height: 100vh;
    overflow-y: scroll;
}
0
Rashida Rahman
Rashida Rahman
Accepted Answer
Support Agent 4 years ago #18823

Hi Andrea,

I think your issue is solved already?

Best Regards

0
A
Andrea
Accepted Answer
4 years ago #18826

Hi, thankyou very much. Solved.

0
Rashida Rahman
Rashida Rahman
Accepted Answer
Support Agent 4 years ago #18832

Thanks for letting us know:)

0