Cropping description for listing category blocks showing in the home page

When the category description is longer than 2 lines of text the design gets broken →

I need to crop the description for the listing category blocks, it seems this may be possible with CSS text-overflow - CSS: Cascading Style Sheets | MDN

Please try this CSS snippet

.hp-listing-categories .hp-listing-category__description{
	text-overflow: ellipsis;
	overflow: hidden;
	white-space: nowrap;

I got a fatal error. It is not working :frowning:

Please make sure that you have added it to Appearance/Customize/Additional CSS

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.