Hi,
I have a problem can’t figure out how to reduce the collection list image sizes and make them round. I need to do that on PC and Mobile versions.
Shop link - https://e8614c-2.myshopify.com/collections/all
Thanks for the help!
A user needed help reducing collection list image sizes and making them circular on both desktop and mobile versions of their Shopify store.
Solution Provided:
Two community members offered nearly identical CSS code solutions involving:
border-radius: 100% to make images circularpadding-bottom and width to 50% for size reduction--mobile-columns: 3 for mobile responsivenessImplementation:
The code should be added to the theme’s CSS file (base.css, style.css, or theme.css) in the Assets folder.
Resolution:
The user initially couldn’t locate the suggested CSS files but successfully resolved the issue by adding the code to their list-collections.css file instead. A follow-up note mentioned the code can also be added to the custom CSS file in the theme editor.
Hi,
I have a problem can’t figure out how to reduce the collection list image sizes and make them round. I need to do that on PC and Mobile versions.
Shop link - https://e8614c-2.myshopify.com/collections/all
Thanks for the help!
Hi @GediminasS
TRy this one.
.collection-card.carousel__slide {
border-radius: 100%;
}
.collection-card--image.media-aspect-adapt {
border-radius: 100%;
border: .5px solid grey;
}
.collection-card--image.media-aspect-adapt {
padding-bottom: 50%;
width: 50%;
margin: auto;
}
@media only screen and (max-width: 749px){
.collection-grid.enable-swipe.text-center.theme-scroll--inner {
--mobile-columns: 3;
}
}
And Save.
Result:
Your Feedback Matters! Please mark the solution and give likes to posts that helped you. Your appreciation fuels our motivation to assist you better!
Hello, @GediminasS
.collection-card.carousel__slide {
border-radius: 100% !important;
}
.collection-card--image.media-aspect-adapt {
border-radius: 100% !important;
border: .5px solid grey;
}
.collection-card--image.media-aspect-adapt {
padding-bottom: 50% !important;
width: 50%;
margin: auto !important;
}
@media only screen and (max-width: 749px){
.collection-grid.enable-swipe.text-center.theme-scroll--inner {
--mobile-columns: 3;
}
}
Thanks!
Hi, is it possible that I don’t have any of those files (“base.css, style.css or theme.css”) in my asset folder? As I can’t find it.
Actually, I have the fail list-collections.css, and it worked like a charm! Thanks!!!
Good to hear! You can also add this in the custom.css file, which you can find in the theme editor.