I published a post earlier that at the collection page, images of few items are not aligned and its difficult to fix them manually by resizing them because the sources of data are different.
Need any code to fix the length for both desktop and mobile.
PS: Got help from someone but that works for desktop only and images got stretched over the phone preview.
Please help to fix the length for both devices.
https://www.cloudstore.pk/collections/boys
Hi @John_Starc
This is PageFly - Advanced Page Builder. I would love to give you some recommendations
-Go to Online Store->Theme->Edit code
-Asset-> component-card.css paste the below code at the bottom of the file.
@media(min-width:768px){
.card__inner{height:300px !important}
}
@media(max-width:767px){
.card__inner{height:200px !important}
}
Hope my solution works perfectly for you!
Best Regards;
PageFly
@John_Starc
oh sorry for that issue can you please try this code
- Go to Online Store->Theme->Edit code
- Asset->/base.css ->paste below code at the bottom of the file.
.collection .card__inner { height: 280px;}
@media(max-width:767px) {.collection .card__inner { height: 190px;}}
Finally, it works. Thank you