Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Advanced Search
  • 0

Fixed header 7.1


NoahW

Question

Site URL: https://duck-buffalo-k3d3.squarespace.com

Hello!

I'm attempting to keep the header the same color when I scroll.

I would like the header to keep the metal look when scrolling rather than changing to green.

 

Screen Shot 2020-05-04 at 9.05.06 PM.png

Screen Shot 2020-05-04 at 9.05.13 PM.png

 

Here is the Current Code. Appreciate any help!

//Header Image
.header {
  background-image: url("https://static1.squarespace.com/static/5e8ca6472e5c376d3f69a514/t/5e9e0633a2713368e9c28d3f/1587414595997/TIB+-+Metal+Header+Texture+-+v1.png")
}

//Header formatting

@media screen and (max-width: 700px) {
 .sqs-block-horizontalrule
{max-width: 100%}
.sqs-block-content hr {
margin-top: -33px !important;
margin-bottom: -33px !important;
}
 .Main-content { margin-top: -20px !important;
margin-bottom: -82px !important;
}
.sqs-block-html {margin-top: -40px;
  padding-bottom: 0px;
}
  
 }

Link to post
  • Answers 3
  • Created
  • Last Reply

Top Posters For This Question

Top Posters For This Question

Posted Images

3 answers to this question

Recommended Posts

  • 0

Add to Home > design > Custom CSS

.header-announcement-bar-wrapper.black.shrink {
    background-image: url(https://static1.squarespace.com/static/5e8ca6472e5c376d3f69a514/t/5e9e0633a2713368e9c28d3f/1587414595997/TIB+-+Metal+Header+Texture+-+v1.png) !important;
}

 

You can send your question to my email to get detail answer. / How to Setup Password & Share URL

--- Happy New Year

Link to post
  • 0
On 5/7/2020 at 3:55 AM, tuanphan said:

Add to Home > design > Custom CSS


.header-announcement-bar-wrapper.black.shrink {
    background-image: url(https://static1.squarespace.com/static/5e8ca6472e5c376d3f69a514/t/5e9e0633a2713368e9c28d3f/1587414595997/TIB+-+Metal+Header+Texture+-+v1.png) !important;
}

 

Works on Home Page but Not Others!

Appreciate the help, but unfortunately the problem still occurs on other pages. The header stays the color of the page upon scrolling.

Edited by NoahW
Works on home
Link to post
  • 0
16 hours ago, NoahW said:

Works on Home Page but Not Others!

Appreciate the help, but unfortunately the problem still occurs on other pages. The header stays the color of the page upon scrolling.

try this

.header-announcement-bar-wrapper.shrink {
    background-image: url(https://static1.squarespace.com/static/5e8ca6472e5c376d3f69a514/t/5e9e0633a2713368e9c28d3f/1587414595997/TIB+-+Metal+Header+Texture+-+v1.png) !important;
}

 

You can send your question to my email to get detail answer. / How to Setup Password & Share URL

--- Happy New Year

Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment


×
×
  • Create New...