All things Shopify and commerce
Hello everyone, I'm trying to make my 'classics' collection image smaller, as right now it is taking up almost the whole page in the Collections tab of my main menu. Is there any way to make this smaller? Also, while we're at it, any way to give it rounded corners? Maybe 10/15% rounded? Thank you!
pass: aloe
Solved! Go to the solution
This is an accepted solution.
Try this.
.collection-list__item:only-child {
max-width: calc(33.33% - var(--grid-desktop-horizontal-spacing) * 2 / 3) !important;
}
Please don't forget to Like and Mark Solution to the post that helped you. Thanks!
Try this.
.card.card--standard.card--media {
width: 20%;
}
.card .card__inner .card__media {
border-radius: 15%;
}
I hope it help.
Please don't forget to Like and Mark Solution to the post that helped you. Thanks!
Hiya,
This has worked for me perfectly, but how do I then centre my collections? The smaller I make the collection images the more it's putting them to the left side of the screen.
Thanks!
This is an accepted solution.
Try this.
.collection-list__item:only-child {
max-width: calc(33.33% - var(--grid-desktop-horizontal-spacing) * 2 / 3) !important;
}
Please don't forget to Like and Mark Solution to the post that helped you. Thanks!
Thank you, this worked great. Any way to give the card rounded corners?
add this CSS just below the previous CSS.
.collection-list__item .card__inner .card__media {
border-radius: 15% !important;
}
By investing 30 minutes of your time, you can unlock the potential for increased sales,...
By Jacqui Sep 11, 2024We appreciate the diverse ways you participate in and engage with the Shopify Communi...
By JasonH Sep 9, 2024Thanks to everyone who participated in our AMA with 2H Media: Marketing Your Shopify St...
By Jacqui Sep 6, 2024