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!