2eLybZ6u Posted April 17, 2021 Share Posted April 17, 2021 Site URL: https://matthew-kern-drzz.squarespace.com/paintings-new Hello, I am attempting to apply a background image to the header section of this website universally. For now I have just applied it to the specific page mentioned. I've had some success with the following code: #collection-6058d724f45e96664a810213 header#header { background-image: url(Image here); background-size: cover; background-position: center center; background-repeat: no-repeat; } However as you can see from the link: https://matthew-kern-drzz.squarespace.com/paintings-new The image does not cover the entire section. I'd like it instead to look like this: Does anyone have a solution? Cheers, M. Link to comment
tuanphan Posted April 19, 2021 Share Posted April 19, 2021 Hi. Looks fine here. Can you explain clearly? Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message How to: Setup Password & Share url - Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care Link to comment
2eLybZ6u Posted April 22, 2021 Author Share Posted April 22, 2021 Hi thanks for response. The question was answered on a different forum. Turns out the canvas was wrapped in <div class="canvas"> with the following CSS: #canvas { max-width: 1200px; margin: 0px auto; padding: 75px; } Adding this CSS: #header{ position: absolute; top: 0; right: 0; margin-bottom: 9px; } Resolved the issue. Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment