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,
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! ![]()
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.
@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.