Hi,
I have a Lottie integration on my home page and i’m having trouble making it sticky in the first section. Your help would be greatly appreciated.
Thanks,
Matt
Here is my site Read-Only: LINK
Hi,
I have a Lottie integration on my home page and i’m having trouble making it sticky in the first section. Your help would be greatly appreciated.
Thanks,
Matt
Here is my site Read-Only: LINK
Where are you trying to stick it? It looks like you’ve got
At the moment the menu sticks fine, and the hero and cta should go under it but the lottie is in the way.
Check out the z index to see what layers you’ve got.
I also changed the hero section to height = auto
I want the lottie to be sticky, and stay in the middle of the viewport as the user scrolls down the hero section (which is 2000px high)
So I think you want something like this:
The Lottie then scrolls up when the list of companies scrolls into view.
Hi @Jonathan_Holden,
Thank you very much for your help. Yes that is correct, however the lottie would be pushed off the screen when the ‘what we do’ section appears.
Do you know why the sticky positioning isn’t working?
Thanks
Sorry, I’ve had a look, but can’t work it out.
@MatthewSpiegelhalter that was hard to find. But here we go:
Enjoy it!
@Matthias Thanks SO much!!!
Hi great topic,
Im trying to achieve the same effect but without full screen animation,
I have followed the instruction and cheatsheet but the animation doesnt stick
Does anyone know if there is any literature for this,