I am looking to display the image banner on collection pages but only if there is an image. If there is not an image uploaded I don’t want the placeholder image to show but to have it act as though the image banner is hidden altogether.
I have found solutions to hide images on product pages but not on the collection page.
Thank you, yes this is what I am looking to do and I have been trying to
figure out how do to this. I am not even certain what liquid file I need to
do it in. My best guess is main-collection-banner.liquid I have added code
in there to do as you suggest but it has not worked. FWIW I have tested the
code on product pages to hide the image area in a similar circumstance and
it did in fact work. I’m really hoping for some more specific tips.