Jump to content

Announcement bar not showing after adding fixed scroll

Recommended Posts

Remove code I sent

Next remove your header fixed code

Next add this to Home > Design > Custom CSS to set sticky header

header.Header {
    position: sticky;
    z-index: 9999;
    width: 100%;
    top: 0px;
}

 

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
  • 5 months later...
21 hours ago, zala said:

Hi @tuanphan,

When I switched my header from fixed to sticky to enable the announcement bar to show up, a space appeared just below the header. How do I fix this? 

downtoearthadventures.com

pw: downtoshirts

In Custom CSS, remove this code

.Content-outer {
    margin-top: 50px;
}

 

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.