Do you guys know of a good working native js script (or jquery or similar) to truncate a text / title length with a specified number of character? Without truncating words (because it’s not readable otherwise).
Example : My long ass title that’s so long it can’t fit to a nice design
Shorten to 30 chars : My long ass title that’s so…
I’d like to be able to apply this rule to any H3 Title with the class “.longtrend” for instance.
Thank you in advance for your help!