Hi all,
I’m not sure I know the best way to achieve the following behavior. Any ideas?
I have a page that consists of a huge group. There’s a button I’d like to have just under the hero image (sign up for a lesson with X). Then, when that button reaches the top of the screen I’d like it to stick there.
When the page is scrolled back up to the button’s original position I’d like it to return to a normal element on the page (meaning, no longer sticking and blocking the hero image and main menu bar).
“Normal view”
Rest of page view with sticky button:
Basically, I’m trying to create a really clear CTA on a long page.
Ideas to make this work?
Thanks!
Jen