Jump to content

Announcement bar not displaying

Recommended Posts

  • Replies 2
  • Views 399
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

On 9/19/2022 at 11:15 PM, Rockyvy said:

Site URL: https://fairlane-hotel.squarespace.com/config/

I've enabled the announcement bar, but I cannot see the bar anywhere, on any page. Is it hidden behind our nav menu? I found an old article about this but couldn't find the code that was mentioned in that post's answer. This is also happening on our other websites. 

Add this to Design > Custom CSS

header.Header.Header--top {
    top: 30px;
}

 

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
4 hours ago, tuanphan said:

Add this to Design > Custom CSS

header.Header.Header--top {
    top: 30px;
}

 

Thank you so much! It worked. However, now it's conflicting a little bit with the sticky nav bar. I put 

position: fixed;

within the code, but it's not staying fixed. That's probably due to the nature of an announcement bar, but how do I get it where either 1) the announcement bar remains sticky, or 2) the nav bar closes the gap when you scroll down the page?

https://www.fairlanehotel.com/

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.