Shopify themes, liquid, logos, and UX
Hi,
I used CSS to add a border-radius to my collection list sections, however, when I hover over them, there's an image zoom and the assigned border-radius disappears. I can't seem to find the correct class to assign the radius to so it stays in all states.
site: dragonsdenhawaii.myshopify.com
pw: dragon
Solved! Go to the solution
This is an accepted solution.
Hello @mariafy2
1. In your Shopify Admin go to online store > themes > actions > edit code
2. Find Asset > theme.css and paste this at the bottom of the file:
.collection-item__image:hover{
border-radius: 8px;
}
Yes, let me know what you need. You should be able to view the code by inspecting the element. I was just struggling to find the class to target.
Thanks for letting me know..
Here's the website & password:
site: dragonsdenhawaii.myshopify.com
pw: dragon
Unfortunately, I can't provide a collaborator code. Are you able to review by inspecting the site?
Please use this code instead.
.collection-item__bg { border-radius: 10px 10px 0px 0px !important; }
- Helpful? Like & Accept solution! - Support me? Buy me a coffee
- Ryviu - Product Reviews & QA app: Collect customer reviews, import reviews from AliExpress, Amazon, Etsy, Walmart, Dhgate and CSV.
- Lookfy Gallery: Lookbook Image - Gain customers with photo gallery, video & shoppable image.
- Reelfy‑Shoppable Videos+Reels: Create shoppable videos to engage customers and drive more sales.
- Enjoy 1 month of Shopify for $1. Sign up now.
This is an accepted solution.
Hello @mariafy2
1. In your Shopify Admin go to online store > themes > actions > edit code
2. Find Asset > theme.css and paste this at the bottom of the file:
.collection-item__image:hover{
border-radius: 8px;
}
June brought summer energy to our community. Members jumped in with solutions, clicked ...
By JasonH Jun 5, 2025Learn how to build powerful custom workflows in Shopify Flow with expert guidance from ...
By Jacqui May 7, 2025Did You Know? May is named after Maia, the Roman goddess of growth and flourishing! ...
By JasonH May 2, 2025