How to make product pictures in best selling or featured collection rounded and add a little bit shadow
Store link:
A user seeks help making product images rounded with shadows in their online store. A solution is provided with step-by-step instructions:
Implementation Steps:
CSS Solution:
The code applies border-radius: 20px and box-shadow: 0px 2px 5px 1px #5e5e5e to .grid-product__image-mask
Scope:
Status: Solution provided, awaiting confirmation from original poster on whether it resolves the issue.
How to make product pictures in best selling or featured collection rounded and add a little bit shadow
Store link:
@Mohidtaha Please follow below steps to make the product images rounded and add a little bit shadow. Let us know whether it is helpful for you.
.grid-product__image-mask {
border-radius: 20px;
box-shadow: 0px 2px 5px 1px #5e5e5e;
}
.grid-product__tag {
border-top-right-radius: 20px;
}
To update only for the home page, please use below code.
body.template-index .grid-product__image-mask {
border-radius: 20px;
box-shadow: 0px 2px 5px 1px #5e5e5e;
}
body.template-index .grid-product__tag {
border-top-right-radius: 20px;
}
Result will be like,
Please provide your support by click “Like” and “Accepted” if our solution works for you. Thanks for your support.