Hi,
I'm using Kentico v7.0.26.
I have added an 'Editable Image' web part into one of my pages so that content editors can optionally add an image to the page.
I have added the following lines to the HTML Envelope section of the web part:
Content before:
<div class="image">
Content after:
</div>
I would expect the HTML envelope to only be rendered if an image has been selected, but that appears not to be the case. The HTML envelope is always rendered regardless of whether an image has been selected or not.
How can I hide the Web Part and/or HTML Envelope if no image is selected?
Thanks!