Hello,
On mobile, I would like less padding around my photos and description, as well as the “you may also like” section, how am I able to do this?
Thank you,
Ella.
A user seeks to reduce padding around product images, descriptions, and the “you may also like” section on mobile devices for their Shopify store.
Screenshots provided show:
Solution offered:
!important flag ensures the custom styling overrides default theme stylesStatus: A CSS code snippet has been provided, but implementation and results have not been confirmed yet.
Hello,
On mobile, I would like less padding around my photos and description, as well as the “you may also like” section, how am I able to do this?
Thank you,
Ella.
Hi,
Hope this will help
Use css to reduce padding
CSS code example
@media screen and (max-width: 768px) {
.product__media-wrapper,
.product__info-wrapper,
.product-recommendations {
padding: 10px !important;
}
}