Jump to content

Show Announcement Bar with Custom Coding in Header

Recommended Posts

Site URL: https://star-turquoise-mzgf.squarespace.com/

Hi there! I have custom code in the heading of my website (we are linking to multiple websites in the header that do not all live on Squarespace, so we can't use the traditional main navigation bar). However, this means my announcement bar shows up on every page except the homepage. Is there a way I can get it to still show? 

 

https://star-turquoise-mzgf.squarespace.com/

Link to comment
  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Add to Home > Design > Custom CSS

body.homepage #page {
    margin-top: 40px;
}
body.homepage header#header {
    display: block;
}
body.homepage header#header>div:not(:first-child) {
    display: none;
}

 

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

How to: Setup Password & Share url Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care

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.