Client-First - How to change to 5 lines the class "text-style-3lines"

I want to duplicate the class “text-style-3lines” and set it up to a different amount of lines.

Any hint on this?

Thanks!

Rafael Ortet

Hey @rafael.ortet! The style is included in the Global Style embeds in pure CSS, you can copy and modify the value of -webkit-line-clamp to fit your needs!

For 5 lines the CSS should look like this!

.text-style-5lines {
	display: -webkit-box;
	overflow: hidden;
	-webkit-line-clamp: 5;
	-webkit-box-orient: vertical;
}