Change the text lenght @services

Hi there

short question. How can i change the textlenght displayed from 2 lines to 3 or 4 lines?

i didn’t find anything in the css …

thx for the short answer…

regards r

to be precise: in the service widget on the frontpage…

Hi,

This is not possible to do with CSS, only if you have a child theme.
In your child theme you can create a folder structure like inc/framework/widgets/front-services.php (where front-services.php is copied from the parent theme).
Then in that file search for wp_trim_words and replace the number you see there (12) with the number of words you want.
Note that these are PHP customizations so you might crash your site if you don’t know what you’re doing.

Your the man VLAD…

i did it and it works perfectly ! :slight_smile:

Thx a lot for your help!