Skip to main content

What is the best way to add a sticky menu to a NationBuilder theme?

For a site that I am designing, there is a "quick escape" button that visitors can click on if they need to leave the site quickly.

I've been able to code the menu itself, but before I make it sticky (stick to the top of the browser window when scrolling) I thought I'd ask if there were any recommendations.

Official response from

Hey Kathryn,

The only thing I'd make sure of is that the sticky button either occupies an empty spot in the topnav bar, or at least doesn't obscure the links in the topnav.

Have you considered having the escape button live at the bottom-right hand corner of the screen, similar to a "jump to top of page" button on longer news articles? For example, this website has a green button at the bottom-right of the page that appears when you scroll down and acts as a quick "jump top top" button. That would make sure that you're not covering topnav items with the escape button.

 

Share this post

Showing 2 reactions

How would you tag this suggestion?
Please check your e-mail for a link to activate your account.