Suppress section if there is no dynamic data and show alternate section

Hello all,

I am working with a vendor that has quite a few collections, but wants some to display differently when shown. For example, they would like a short bio and image to be shown when this is a maker, but not when it is an attribute, such as Vegan.

I would like to accomplish this without editing the main liquid file – using custom CSS or a custom liquid block.

Here’s a rundown of the specifics:

A CSS code (preferably) that would allow me to suppress a media with text section on the default collection page if there is no image value found via the connected dynamic source. If this section is suppressed, then a rich text section is shown, otherwise it remains hidden.

Any thoughts or suggestions welcome!

Thank you!

Charlene