Charlottenz Posted June 24, 2023 Posted June 24, 2023 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?
tuanphan Posted June 25, 2023 Posted June 25, 2023 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 Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)
Charlottenz Posted July 3, 2023 Author Posted July 3, 2023 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.
Solution tuanphan Posted July 4, 2023 Solution Posted July 4, 2023 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 Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment