Hi everyone,
How can i add border radius to the images on the following sections?
URL is www.ateliercharisma.com
A user seeks help adding border radius to images on specific sections of their Shopify store (ateliercharisma.com). Two screenshots are provided showing the current image display.
Proposed Solutions:
Solution 1: Add CSS code to the theme.liquid file targeting .product-card__image with border-radius: 12px and additional object-fit properties
Solution 2: Insert CSS into the theme.css file targeting .featured-collections-carousel__item.is-selected .object-cover with border-radius: 20px !important
Both responses provide CSS snippets but target different elements, suggesting the solutions may address different image sections on the site. The discussion remains open with no confirmation from the original poster about which solution worked or if the issue is resolved.
Hi everyone,
How can i add border radius to the images on the following sections?
URL is www.ateliercharisma.com
Hello,
#img.product-card__image.product-card__image--primary.object-cover.aspect-square{
object-fit: cover;
object-position: center;
border-radius: 12px;
}
Thanks!
Hello @JarnoBroekkamp
Go to the setting> Theme> Edit code> Choose Theme.css > Paste below the code
.featured-collections-carousel__item.is-selected .object-cover {
border-radius: 20px !important;
}