Anyway to achieve?: Fixed to top within parent on scroll
-
Hi,
Is there anyway to achieve the fixed-on-scroll-effect on this site: https://www.ourlegacy.com/
More specific: When the text hits the top, it gets fixed, and when it hits the bottom of parent section, it stops being fixed.
Thank you in advance
Martin
-
hey you can try position sticky css or a sticky javascript library
theres no built in way to do this but its on my todo list
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
Forgot your key, lost your files, need a previous Lay Theme or Addon version?
Go to www.laykeymanager.com