Liquid, JavaScript, themes, sales channels
Hello folks, even though the images are the same dimensions they are displayed differently on my stores collections page. Does anyone know how can I fix this?
Here is the link to that page: https://trendsanta.com/collections
Thanks in advance 🙂
Solved! Go to the solution
This is an accepted solution.
Hello There,
1. Go to Online Store->Theme->Edit code
2. Asset->/theme.scss.liquid->paste below code at the bottom of the file.
@media screen and (min-width: 750px){
.collection .medium-up--one-third .featured-card {
height: 460px !important;
}
.collection .medium-up--one-third .featured-card .featured-card__image-container {
max-height: 298px !important;
height: 100%;
min-height: 298px;
max-width: 100% !important;
}
.collection .medium-up--one-third .featured-card .featured-card__image-container .featured-card__image-wrapper {
padding-top: 100% !important;
}
.collection .medium-up--one-third .featured-card .featured-card__image-container .featured-card__image-wrapper img {
max-height: 298px !important;
height: 100%;
object-fit: cover;
}
.collection .medium-up--one-third .featured-card .featured-card__header {
min-height: 119px;
}
}
This is an accepted solution.
Hello There,
1. Go to Online Store->Theme->Edit code
2. Asset->/theme.scss.liquid->paste below code at the bottom of the file.
@media screen and (min-width: 750px){
.collection .medium-up--one-third .featured-card {
height: 460px !important;
}
.collection .medium-up--one-third .featured-card .featured-card__image-container {
max-height: 298px !important;
height: 100%;
min-height: 298px;
max-width: 100% !important;
}
.collection .medium-up--one-third .featured-card .featured-card__image-container .featured-card__image-wrapper {
padding-top: 100% !important;
}
.collection .medium-up--one-third .featured-card .featured-card__image-container .featured-card__image-wrapper img {
max-height: 298px !important;
height: 100%;
object-fit: cover;
}
.collection .medium-up--one-third .featured-card .featured-card__header {
min-height: 119px;
}
}
Thank you for your response. It's good to know that it's worked for you. Kindly feel free to get back to me if you need any further assistance.
Are you ready to take your business to the next level? Look no further than the latest ...
By SarahF_Shopify Apr 15, 2024We’re keeping the ball rolling to make sure you’re always ahead of the game. So buckle ...
By JasonH Apr 8, 2024Portrait of Stephen positioned next to an image of planet Earth, with the Stephen's World ...
By JasonH Mar 18, 2024