Hi again, i would like to make my product photos fit in the grey background on my product page.
Im happy for all help you gave me, many thanks in advance. ![]()
My url:
A user seeks help resizing product images to fit within grey backgrounds on their Shopify product pages.
Solution Provided:
.media.media--transparent.media--hover-effect img with padding adjustments (30px suggested)Outcome:
The original issue was successfully resolved. The user confirmed satisfaction with the results.
Follow-up Question:
A new issue emerged regarding unwanted grey coloring appearing in brand boxes on the brands page. The user provided a screenshot and asked how to remove this background color.
The discussion remains open with the secondary question awaiting response.
Hi again, i would like to make my product photos fit in the grey background on my product page.
Im happy for all help you gave me, many thanks in advance. ![]()
My url:
Hi @Dekanten
Check this one.
.media.media--transparent.media--hover-effect img {
padding: 12px !important;
}
.card__inner.color-accent-2.gradient.ratio {
background: none !important;
}
And Save.
Result:
If you like more space just adjust the padding.
This is size 30px.
Please don’t forget to Like and Mark Solution to the post that helped you. Thanks!
Hello and thank u so much, everything is just fine now. ![]()
I had to use the component card and everything goes well, happy with the result. Many thanks for all help. ![]()