Hide empty List-item on CMS-col-template (Solved)

Howdy!

I am desinging my CMS-collection blog template page, and I just ran into a small problem.

Below the main text of the blog, I added a TL;DR list.

The lists consists of a maximum of 10 List-items.

For one of my blogs, the TL;DR list will contain 8 items.

The text within each list-item is linked to a “plain-text” CMS item.

The problem i am running into is that the remaining 2 list-items remain visible, and so do the numbers.

Is there any way to structure this better, or can jQuery help out?

Any thouhts are appreciated!

Kind regards,

Djaya

I found an easy solution:

Use a list within a rich text element.

Cheers!

1 Like

Happy to hear! Closing the topic :webflow_heart: