Jump to content

Fixed Header - Foster template

Recommended Posts

Hi, I am using this code to make the header fixed in the foster template, but I am having issues with the navigation bar being placed over the top of the logo and the length of the header is too long and obscures the content on the pages I.E. - about, contact, retailers. See the reference images for how it looks vs. how I want it to be.

Could use some guidance on what CSS I need to add. Thank you

www.sandwichceramic.com/home

 

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

 

Screen Shot 2020-01-05 at 01.03.50.png

Screen Shot 2020-01-05 at 01.04.03.png

Link to comment
  • Replies 1
  • Views 681
  • Created
  • Last Reply

Remove your code and use this code to Fixed header

header.Header.Header--bottom {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999;
}

not related, like images on your site home. 😂

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

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

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.