tyebeach wrote:For some reason, I do not have PrepareProductOverviewModels in my Views>Product folder.
Could you walk me through how to set the height for the CSS?
Hi
tyebeach,
if you just want some simple CSS code that you can use to limit the description of your product boxes, you can use the following:
.item-box .details {
max-height: 170px;
overflow: hidden;
}
This will show only two lines of your description (that is if you have only one line for the product name), since your product box is also limited to a certain height.
If you want to show more lines of the description text, you can use higher value for the
max-height property, but make sure to make the product boxes higher accordingly. For example:
.item-box, .item-box.product-grid {
height: 570px;
}
.item-box .details {
max-height: 220px;
overflow: hidden;
}
Hope this was helpful.
Best Regards,
Valentin.