Matthew7
(Matthew)
August 29, 2023, 11:46pm
1
Is it possible to truncate the RSS title after X amount of lines? Some of our titles are long and others shorter, so it’d be great if I could cut after 2 lines and then append […] at the end so everything is even.
So the part that is bolded In the example image.
1 Like
Max
August 30, 2023, 11:41am
3
Hi @Matthew7
Sure, this code will do the trick
[class^='Text__Title-sc'] {
display: -webkit-box;
-webkit-box-orient: vertical;
-webkit-line-clamp: 2;
overflow: hidden;
}
Matthew7
(Matthew)
August 30, 2023, 12:20pm
4
This worked perfectly, thank you!!
1 Like
Matthew7
(Matthew)
August 30, 2023, 8:12pm
6
Hi @Max - one more thing for these cards
How do I get rid of the text at the bottom of the thumbnail (Good news …)
Max
August 31, 2023, 9:52am
7
Hi @Matthew7
This code should work:
.global-styles, [class="Ellipsis__Wrapper-sc-1b8wrxx-0 fsSdUl User__Name-sc-1b0vs6-2 hvpQIU"] {
display: none;
}
Please check it and let me know if it helped