If this question has been asked, please forgive me and please kindly point me to the thread - I couldn’t find anything from forum search.
I have a section called ’callout’ and the div wrap is always the same
<div class="callout">
<div class="callout_btm">
</div>
</div>
I want to serve it as a wrapper for callout items that will be used in some pages, but not all.
I thought of creating a TV and placed in the template (the callout divs can go to chunk if necessary)
<div class="callout">
<div class="callout_btm">
[*callout*]
</div>
</div>
But if no items are placed in the callout TV, it will still show the
<div class="callout">
<div class="callout_btm">
</div>
in the source code. I don’t want that.
How can I have it removes if no item in the callout TV in a page?
Thanks!