How do I hide collapsible tabs in Momentum theme when there is no text?

Hi there,

I am trying to hide a collapsible tab in my store if there is no text to display. I am using dynamic source to dynamically display text but it doesn’t look right having it there if there is no text.

Thanks in advance!

Hi there! :waving_hand:

You can definitely hide a collapsible tab when there’s no content. If you’re using a dynamic source, you’ll just need to add a quick conditional check in your Liquid code.

Hello @SuperSnazzy ,

I hope you are well!

Can you please provide the store URL? It will be helpful for us to provide the CSS which will hide the collapsible tab.

Hi there,

It’s www.beyjou.com.

Thank you very much :slight_smile:

@SuperSnazzy can you please share a product page link where you have an empty tab?

I have fixed this by creating a new product template for the ones that don’t need the collapsible tab.

Thank you!

@SuperSnazzy nice to know that you have solved this issue.