Hiding a section header if collection items list is empty

If the list of dynamic items is empty I would like to hide the header for all items, is this possible?

Hi @Krister

Yes, you can achieve that by following these steps (Screen Recording 2017-08-29...)

  1. Duplicate the Collection list
  2. Remove all content from the list and add in your heading
  3. Limit the List items to 1

​Hope this is helpful.

It was helpful indeed, I managed to achieve what I was aiming for. Thank you. :sunny:

(I must admit I was hoping for a less “hackish” solution, but maybe this will come in future versions of webflow :smile: )

1 Like