Jump to content

Fixed header! HELP!

Recommended Posts

  • Replies 5
  • Views 422
  • Created
  • Last Reply
  • 2 weeks later...

So I did as you suggested:

header.Header.Header--top {
      z-index: 9998;
      position: sticky;
    position: -webkit-sticky;
    top: 0;
       background-color: hsl(26, 36%, 92%);
}

But now I am getting a white stripe below the header and above the banner image.  All images have the following:

.image-block
{
  width:100%;    
  padding-top:0 !important;  
  padding-left:0 !important;
  padding-right:0 !important;
}

I can't seem to work out where the white stripe is coming from as the image is right at the top of the page.

Any ideas?

 

Link to comment

Archived

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.