I’m pretty new on Webflow and I would like to create a button (a CTA) that would replace the logo in the navbar on the mobile version when you scroll down after the section 2.
to be clearer: here is an exemple of website that does exactly what I want to do (mobile version) :
This behaviour is easy to make with Webflow, using Interactions.
Basically, you’ll create an interaction trigger on the first section, setting it for when the section leaves the viewport (and the reverse for when it comes back). Then you’ll create an animation inside, targeting an element in your navbar to move it upwards.
I suggest that you create a div in your navbar to contain the two elements that swap. Make them one on top of the other with the one on bottom hidden outside. Then target this div with the IX.
Hi @vincent ,
thank you for your answer !
I’m sorry, I’m trying for now more than 1hour but I’m not a developer and not english native, so I didn’t succeed at all…
Do you think you could explain a little more in details the different steps ? It would help me a lot !
Thank you very very much
Maud