Archived topic
Header widget disappears in sticky menu when scrolling down
1 reply · Started by Ruthanne on August 25, 2021
Hello! The site we're working on is https://4thfloorpublication.com
The "give" button on the right vanishes when scrolling down. I'd like it to stay in sight. How do we do that? Thanks!
Hi there,
You may have to change how the button is added.
Currently, it's added as a widget on the Header widget area.
You can try adding it by creating a button with CSS selector "give-button" on Additional CSS Class(es) field, inside a Block Element and hook it on generate_menu_bar_items.
And then add this CSS:
#site-navigation .give-button { display: none; }
#sticky-navigation .give-button { display: block; }