Jump to content

Fixed Header Content Overlap Issue on Index Pages

Recommended Posts

Site URL: https://rootstocanopy.squarespace.com

I have a fixed the header on this site but am getting content overlap on the index sections when using jump links to navigate the page. Here is the code I am currently using:

 

/* header freeze */
.Header {
position: fixed;
z-index: 9999;
width: 100%;
top: 0px;
}
.Content-outer {
margin-top: 100px;
}
/* end header freeze */

 

Link to page for example: rootstocanopy.squarespace.com/consulting

Password: roots

Thanks for any help!

Link to comment
  • Replies 4
  • Created
  • Last Reply

Top Posters In This Topic

@merrymoondancer Remove your code & add this new code

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

 

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
  • 2 weeks later...
On 11/24/2020 at 10:41 PM, merrymoondancer said:

@tuanphan I tried this and it still doesn't work. Still jumps to a point past the header of the section. Anything else to try?? Thank you so much for your help!

Have you solved it yet?

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.