Shopify themes, liquid, logos, and UX
Hi
There is a way to make the Multi Row images smaller?
I tried through my theme customization but it didn't go well because it makes the image not full width.
How I can change the size through code?
ellsoll.com
Solved! Go to the solution
This is an accepted solution.
Css is not loading on page
try to add in layout/theme.liquid just before </head>
<style>
.image-with-text__media img{max-width: 500px; max-height: 500px; margin: auto; right: 0; bottom: 0;}
</style>
Hi @Ell_Soll
For that you can use this fast solution,
Follow this:
1. Go to Online Store->Theme->Edit code
2. Asset->base.css > paste bellow code in bottom of file
.image-with-text__media img{max-width: 500px; max-height: 500px; margin: auto; right: 0; bottom: 0;}
Note: it will work for all image with text section,
- you can change max width and max height in css as you want small or big.
Best regard
Hi thanks for your reply but it's not work.
I have multirow, not image with text.
This is an accepted solution.
Css is not loading on page
try to add in layout/theme.liquid just before </head>
<style>
.image-with-text__media img{max-width: 500px; max-height: 500px; margin: auto; right: 0; bottom: 0;}
</style>
Perfect!
Thank you.
I can see one css override by store css so remove old one and add this new
<style>
.image-with-text__media img{max-width: 400px !important; max-height: 400px; margin: auto; right: 0; bottom: 0;}
</style>
This worked for me. However, the previous width of the image is visible by lines on each side. How do I get rid of this
have you added code? i cant see in front side?
add it and let me know will check
Added.
Check now.
This worked for me. However, the previous width of the image is visible.
send me store url will check
Could you tell me how you solved problems with white stripes on the top and bottom of image?
Hey Community 👋 Did you know that March 15th is National Everything You Think Is W...
By JasonH Apr 1, 2025Discover how to increase the efficiency of commerce operations with Shopify Academy's l...
By Jacqui Mar 26, 2025Shopify and our financial partners regularly review and update verification requiremen...
By Jacqui Mar 14, 2025