I’ve search and tried code on a several similar posts on Dawn theme, but none have worked.
I have two sections on Multi-Row in Dawn Theme, but in Mobile the image is cropped vertically. I need the image to show 100% as it is a book cover.
A user is experiencing an issue with the Dawn theme where images in Multi-Row sections are being vertically cropped on mobile devices. This is problematic because the images are book covers that need to display in their entirety.
Problem Details:
Proposed Solutions:
Multiple community members offered CSS-based fixes:
Custom CSS for the section:
img { object-fit: container; }
Theme-wide Custom CSS (more specific):
.multirow__inner.page-width .image-with-text__media img {
object-fit: contain !important;
}
Applied via: Shopify > Online Store > Themes > Customize > Settings > Custom CSS
Status: The discussion remains open with no confirmation yet on whether the proposed solutions resolved the issue. Several responders also requested the store URL for further troubleshooting.
I’ve search and tried code on a several similar posts on Dawn theme, but none have worked.
I have two sections on Multi-Row in Dawn Theme, but in Mobile the image is cropped vertically. I need the image to show 100% as it is a book cover.
Hello @harkermcnair
Thank you for submitting your query to the Shopify community. I’d be happy to assist you. Could you please provide the store URL and password (if it’s password-protected) so I can review and get back to you with an update?
Hi @harkermcnair
How are you?
Can you please share store Url?
Hello, @harkermcnair
Please share “Store URL”
Thanks!
You can try to add this code to Custom CSS of that section to check if it solves the issue
img { object-fit: container; }
You can follow the instruction here :
Go to Shopify > Online store > theme > customize
Click to Settings > Custom CSS > Paste this code to the section and save.https://prnt.sc/Rl66N9K_Bjvs
.multirow__inner.page-width .image-with-text__media img {
object-fit: contain !important;
}
I hope it helps.
Esther