Airbnb Long Review Cap

Would love the ability to cap lengthy reviews so that the widget, “read more” does not occupy too much real estate. We should be able to set the number of characters that we want to show in full view or “read more”.

1 Like

Hi there @Manuel_Lemus :wave:

Would you like to show the part of the review with the ellipsis after the last word shown or just ending with the specific word?

Elipsis is preferred…

1 Like

Got it!

This code should help:

.es-review-content-text {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;  
  overflow: hidden;
}

-webkit-line-clamp in the 3rd line of the code allows you to set the number of lines displayed.

Add this code to the Custom CSS field on the Style tab of your widget’s settings and let me know if it helped :slightly_smiling_face: