m10ki Posted June 21 Share Posted June 21 (edited) Password: appleton I am attempting to use a different background image in the top main header on mobile. You can see the image is in place (the small sliver below the curved divider and above the red section) - but it is behind the image I want to swap (and not housed within the curve). This is the CSS I am using: @media only screen and (max-width: 640px) {section[data-section-id="6477887b2644316cd6cb8ff4"] { background-image: url(https://static1.squarespace.com/static/6474e7fbb738031c56c23939/t/6490c63a6ca0e13bf8787392/1687209531282/Appleton+Home+Page+Banner+-+Mobile+test.png); background-size: cover; background-position: center; background-repeat: no-repeat; } } Thanks in advance! Edited June 21 by m10ki Link to comment
tuanphan Posted June 23 Share Posted June 23 Hi, What is site url? 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
m10ki Posted June 23 Author Share Posted June 23 Shoot, I forgot to add that: https://hexaflexagon-pear-a9sh.squarespace.com/ Password: appleton Link to comment
tuanphan Posted June 25 Share Posted June 25 Use this new code @media only screen and (max-width: 640px) { section[data-section-id="6477887b2644316cd6cb8ff4"] .section-background-canvas.background-fx-canvas { display: none; } section[data-section-id="6477887b2644316cd6cb8ff4"] img { visibility: visible !important; content: url(https://static1.squarespace.com/static/6474e7fbb738031c56c23939/t/6490c63a6ca0e13bf8787392/1687209531282/Appleton+Home+Page+Banner+-+Mobile+test.png); } section[data-section-id="6477887b2644316cd6cb8ff4"] { min-height: unset !important; height: 50vh; } } 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
m10ki Posted June 27 Author Share Posted June 27 Thank you, I appreciate it. That did the trick! 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