Jump to content

Fixed header in Foster template, announcement bar

Recommended Posts

  • Replies 1
  • Views 453
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

On 8/19/2021 at 11:46 PM, demetron said:

Site URL: https://www.peyotebird.com/

Hello, 

I've been able to create a sticky navigation, HOWEVER, when a user closes out the announcement bar there is now a gap about the navigation. I'd like the entire navigation to just slide up. Any help appreciated!

Hi,

Add this to Design > Custom CSS

header.Header {
    position: sticky !important;
    position: -webkit-sticky;
    top: 0;
    z-index: 9999;
}

 

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.