Charlottenz Posted June 24 Share Posted June 24 My website www.littlebattersea.co.nz is now live. On desktop, the header image is great, but on mobile I'd like to change the alignment so more coffee is visible, less arm, so essentially right aligning the image. Can someone suggest code for this please? Link to comment
tuanphan Posted June 25 Share Posted June 25 You can add this code to Design > Custom CSS /* Mobile Resize Banner */ @media screen and (max-width:767px) { [data-section-id="6491424949e8281da1136513"] { min-height: unset !important; height: 30vh; } } 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
Charlottenz Posted July 3 Author Share Posted July 3 That's not quite what i was looking for. I still want the height of the header to be the same, just the image aligned to the right so i can see more of the coffee. Link to comment
Solution tuanphan Posted July 4 Solution Share Posted July 4 13 hours ago, Charlottenz said: That's not quite what i was looking for. I still want the height of the header to be the same, just the image aligned to the right so i can see more of the coffee. Use this new code /* Mobile Resize Banner */ @media screen and (max-width:767px) { [data-section-id="6491424949e8281da1136513"] img { object-position: 90% 50% !important; } } Charlottenz 1 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
Charlottenz Posted July 9 Author Share Posted July 9 thanks so much, that's perfect ! 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