Streaming live at 10am (PST)

Hiding a section header if collection items list is empty


#1

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


#2

Hi @Krister

Yes, you can achieve that by following these steps (https://cl.ly/460k0M0l313b)

  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.


#3

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: )