Project index - Truncate
-
Hi,
When using "project index" Lay Theme automatically truncate sentences if they are too long.
Here is an example:
https://schonningjart.dk/forside-test/
Lay Theme cuts sentences when below 1660 px vw. Is there a way to change this? So instead of truncated sentences it's just two lines or how many needed?Best,
Hans -
sure, use this css:
.lay-projectindex-row > div{ white-space: normal; text-overflow: initial; overflow: auto; } -
Hi Armin,
Yes, it works! Thank you so much!
Best,
Hans -
Hi,
Just updated to latest Lay theme now the shared css is not working anymore...?
Best,
Hans -
try this
.lay-projectindex.lay-projectindex-style-table .lay-projectindex-col-title{ white-space: normal; text-overflow: initial; overflow: auto; } -
try this
.lay-projectindex.lay-projectindex-style-table .lay-projectindex-col-title{ white-space: normal; text-overflow: initial; overflow: auto; }Hi @arminunruh
Thank you for your answer
That css snippet gives the rows with overflow a scrollbar. You have any other suggestions :)?Best,
Hans -
Hi again
Made it work - it was just a matter of adding !important to white-space: normal;
Thank you, and happy new year!
-
Hi again
Made it work - it was just a matter of adding !important to white-space: normal;
Thank you, and happy new year!
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login