Closed maconmatt closed 6 years ago
The simplest vanilla-CSS solution is stymied by multi-line text. Everything else is a little hacky.
I'm guessing the solution they use for the post excerpt in the above image is done with character counts?
Looking at the other examples, the ellipses all appear after a word, so it's probably elastic.
Ellipsis goes after the first word after 120 characters or something like that.
But, yes, the ellipses are real text on the page. It's a server-side solution.
So, we can come up with something that will "work"?
I don't know.
Looking at the number of characters to work with and the margin for error (error = flowing onto > 2 lines), I see a client-side solution being better. But those have pitfalls.
http://hackingui.com/front-end/a-pure-css-solution-for-multiline-text-truncation/
Theme developer is looking into this.
Developer has fixed the issue.
Hopefully, one of us can figure this one out?