Shopify themes, liquid, logos, and UX
Hi! I need help with setting my image image ratio in my image with text section for mobile view. I wanted to set the image size to be 3:4 since it looks cropped when viewing this section in mobile. Here’s a pic as reference. Any help would be appreciated! 🙂
Solved! Go to the solution
This is an accepted solution.
Hi @Popcorn ,
This is Richard from PageFly - Landing page builder, I’d like to suggest this idea:
Step 1: Go to Online Store->Theme->Edit code
Step 2: Asset->/component-image-with-text.css->paste below code at the bottom of the file:
@media screen and (max-width: 749px) {
.image-with-text .image-with-text__media--small {
padding-top: 130%;
}
}
I hope it would help you
Best regards,
Richard | PageFly
Please let me know if it works by giving it a Like or marking it as a solution!
➜ Optimize your Shopify store with PageFly Page Builder (Free plan available)
All features are available from Free plan. Live Chat Support is available 24/7.
This is an accepted solution.
Hi @Popcorn ,
This is Richard from PageFly - Landing page builder, I’d like to suggest this idea:
Step 1: Go to Online Store->Theme->Edit code
Step 2: Asset->/component-image-with-text.css->paste below code at the bottom of the file:
@media screen and (max-width: 749px) {
.image-with-text .image-with-text__media--small {
padding-top: 130%;
}
}
I hope it would help you
Best regards,
Richard | PageFly
Please let me know if it works by giving it a Like or marking it as a solution!
➜ Optimize your Shopify store with PageFly Page Builder (Free plan available)
All features are available from Free plan. Live Chat Support is available 24/7.
The code worked! Thank you very much for helping me 🙂
Learn how to build powerful custom workflows in Shopify Flow with expert guidance from ...
By Jacqui May 7, 2025Did You Know? May is named after Maia, the Roman goddess of growth and flourishing! ...
By JasonH May 2, 2025Discover opportunities to improve SEO with new guidance available from Shopify’s growth...
By Jacqui May 1, 2025