Soft Lock one-page feature
-
Hey, I'm currently working on a one-page website and I was wondering if someone has created something similar to my idea and could help me with my problem. Since it's a one-pager, I want to implement a feature where the page "soft-locks" onto specific points on the website. It's like sliding through the page as if it were a slideshow, but you activate the next slide by scrolling. If anyone understands what I mean and has a simple solution, it would be greatly appreciated.
-
Hey Johannes Haech, you might look up or ask ChatGPT for some Custom CSS like Position: sticky; and then define where and when by scrolling where to make what sticky.
-
you can use the fullscreen slider addon
https://laytheme.com/addons/fullscreen-slider.html -
Hey, thanks for the solutions. I think I'll use ChatGPT and try my luck with coding. I'll share the solutions I find and the finished webpage here. I'm quite new to the topic, so thank you guys for your support.
-
sure!
u can also use this new css feature:
https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_scroll_snap
Before you post:
- When using a WordPress Cache plugin, disable it or clear your cache.
- Update Lay Theme and all Lay Theme Addons
- Disable all Plugins
- Go to Lay Options → Custom CSS & HTML, click "Turn Off All Custom Code", click "Save Changes"
This often solves issues you might run into
When you post:
- Post a link to where the problem is
- Does the problem happen on Chrome, Firefox, Safari or iPhone or Android?
- If the problem is difficult to explain, post screenshots / link to a video to explain it