Guest Posted May 6, 2020 Share Posted May 6, 2020 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. 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 comment
tuanphan Posted May 7, 2020 Share Posted May 7, 2020 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; } 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
Guest Posted May 18, 2020 Share Posted May 18, 2020 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. Link to comment
tuanphan Posted May 19, 2020 Share Posted May 19, 2020 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; } 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
Recommended Posts
Archived
This topic is now archived and is closed to further replies.