Shopify themes, liquid, logos, and UX
Hello,
I need to round the edge of my product images in the collection page. I have rounded them in the product page using the built in customization and would like to do same for collection page.
Thanks
Solved! Go to the solution
This is an accepted solution.
Hey @mangyite,
Go to your theme's "Edit Code" Option, then in the search bar type "theme.liquid"
Below the tag "<head>" tag paste the following. Screenshot attached for reference.
Change the 15px value to whatever you like
<style>
.card--card.gradient, .card__inner.gradient {
background: transparent !important;
}
.card .media {
border-radius: 15px !important;
}
</style>
Screenshot is for reference only, the correct code to paste is the one shown above.
Add style: "border-radius: 10px" or whatever value according to your needs to the product image element.
Hey @mangyite,
Can you share the link to your store please? Thanks!
This is an accepted solution.
Hey @mangyite,
Go to your theme's "Edit Code" Option, then in the search bar type "theme.liquid"
Below the tag "<head>" tag paste the following. Screenshot attached for reference.
Change the 15px value to whatever you like
<style>
.card--card.gradient, .card__inner.gradient {
background: transparent !important;
}
.card .media {
border-radius: 15px !important;
}
</style>
Screenshot is for reference only, the correct code to paste is the one shown above.
Worked a charm, thanks!
Hello @mangyite ,
As I understand you are looking to make the corners of your collection list images round.
You can change the corner radius using the theme customizer.
Please follow these steps -:
1. Go to Online Store -> Themes-> Click Customize
2. Follow the steps mentioned in screenshot.
3. Now Scroll down the Collection Card option and Go to 'Border' option.
4. You can also change the product image border using theme customizer.
I hope the solution helps you.
Please let me know if you have any query.
Thank you.
Hey Community! As we jump into 2025, we want to give a big shout-out to all of you wh...
By JasonH Jan 7, 2025Hey Community! As the holiday season unfolds, we want to extend heartfelt thanks to a...
By JasonH Dec 6, 2024Dropshipping, a high-growth, $226 billion-dollar industry, remains a highly dynamic bus...
By JasonH Nov 27, 2024