Shopify themes, liquid, logos, and UX
I need to resize the images in the collection list section on mobile only to all be the same size. Unsure of the coding required to do so. I've currently got the below coding in place in the "component-card.css" file to allow for 3 columns instead of the standard two.
There are two sections on the homepage I need to update without affecting any other collection list sections on the page.
@media (max-width: 749px) {
.collection-list-wrapper .collection-card-wrapper .card__heading {
overflow: hidden;
text-overflow: ellipsis;
display: -webkit-box;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
}
}
Solved! Go to the solution
This is an accepted solution.
@media screen and (max-width: 750px) {
.slider-mobile-gutter .collection-list {
display: grid !important;
grid-template-columns: 1fr 1fr 1fr !important;
}
}
@lushpupco Please add this code in the.
Thanks.
This is an accepted solution.
@media screen and (max-width: 750px) {
.slider-mobile-gutter .collection-list {
display: grid !important;
grid-template-columns: 1fr 1fr 1fr !important;
}
}
@lushpupco Please add this code in the.
Thanks.
Hey 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, 2024Hey Community! It’s time to share some appreciation and celebrate what we have accomplis...
By JasonH Nov 14, 2024