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 🙂
2m ago Learn the essential skills to navigate the Shopify admin with confidence. T...
By Shopify Feb 12, 2025Learn how to expand your operations internationally with Shopify Academy’s learning path...
By Shopify Feb 4, 2025Hey Community, happy February! Looking back to January, we kicked off the year with 8....
By JasonH Feb 3, 2025