Hi,
I would like the photos of the products cards to be seen in full width and that the background of another color is not seen. can you help me I attach photo.
A user seeks help removing colored background padding around product card images, wanting images to display at full width instead.
Initial Issue:
Solution Provided:
CSS code added to base.css file (Shopify Admin → Online Store → Theme → Edit code):
.card--standard .card__media with margin: 0, width: 100%, and border-radius propertiesFollow-up Issue:
.card .card__inner .card__media with identical styling propertiesStatus: Solution successfully implemented for product cards; grid fix provided but not yet confirmed.
Hi,
I would like the photos of the products cards to be seen in full width and that the background of another color is not seen. can you help me I attach photo.
@Juanchila0 Can you please share this page link?
purasmile.it
@Juanchila0 please add this css to the very end of your base.css file and check,
Shopify Admin → Online Store ->Theme → Edit code → base.css
.card--standard .card__media {
margin: 0 !important;
width: 100% !important;
border-radius: var(--border-radius) !important;
}
@Juanchila0 - add this
.card .card__inner .card__media {
margin: 0 !important;
width: 100% !important;
border-radius: var(--border-radius) !important;
}