The buggy margin of the products is cutting the product information, does anyone know how to solve it?
website: www.colorluzes.com.br
A user encountered a layout issue on their Colorluzes store where product information was being cut off due to problematic margins on the collection page.
Initial Problem:
Solution Provided:
Community members suggested adding custom CSS code to the assets/theme.css file, specifically:
padding-bottom for .product-item--vertical .product-item__infomin-height: max-content for scrollable product lists on screens wider than 1000pxFollow-up Request:
After the initial fix resolved the cut-off issue, the original poster asked about adding rounded edges to the product items. A second CSS solution was provided targeting the .flickity-slider elements with additional styling for margins, heights, and flexbox layout.
Status: The main cut-off issue was resolved; rounded edges solution was offered but implementation confirmation is pending.
The buggy margin of the products is cutting the product information, does anyone know how to solve it?
website: www.colorluzes.com.br
I am not sure.
May I suggest to update code these steps:
.product-item--vertical .product-item__info {
padding-bottom: 30px;
}
Please add the following CSS code to your assets/theme.css bottom of the file.
@media screen and (min-width: 1000px){
.product-list--scrollable .product-item {
min-height: max-content !important;
}
}
Thanks!
fixed my problem, but do you know if there is a way to make the edges rounded too? @EBOOST
May I suggest to update code these steps:
.flickity-slider .product-item--vertical .product-item__info {
padding-bottom: 0;
}
.flickity-slider .product-item--vertical .product-item__info .product-item__info-inner {
display: flex;
flex-flow: column;
}
.flickity-slider .product-item--vertical .product-item__info .product-item__info-inner .product-item__price-list {
margin-top:0;
margin-bottom: 0;
}
.flickity-slider .product-item--vertical .product-item__info .product-item__info-inner .product-item__price-list .price {
margin-bottom: 0;
}
.flickity-slider .product-item--vertical .product-item__info .product-item__info-inner .scm-reviews-rate {
margin-bottom: 0;
min-height: 26px;
}
.flickity-slider .product-item--vertical .product-item__info .product-item__info-inner .scm-reviews-rate + p {
margin: 0!important;
min-height: 24px;
}