Jump to content

Fixed header in Foster template

Recommended Posts

I've made the header fixed using below code but the header is not on the top of the page. When I scroll down I can see a little bit of the content showing through small gap at the top of the page (screenshot attached). How can I move the header to the top of the page please?

.Header {
  position: fixed!important;
  z-index: 1000;
  width: 100%;





Zima website.jpg

Link to comment
  • Replies 2
  • Views 951
  • Created
  • Last Reply
  • 4 months later...

I had a similar issue and the code you provided @tuanphan, it fixed the gap issue. The problem I'm having now is that the header is covering content that I previously placed on certain pages outside of the home/index page. Is there a way to push the content below the header? Whenever I try to add an element to the top, I can technically place it there but it remains covered by the fixed header.

See attached screenshots

Screen Shot 2020-03-30 at 3.48.06 PM.png

Screen Shot 2020-03-30 at 3.47.52 PM.png

Link to comment


This topic is now archived and is closed to further replies.

  • 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.