XF 2.0 HTML widget without title

If I have no title for an HTML widget, it gives itself the title "HTML"

How do I just have no title at all?

Thanks

You could edit the widget_html template, this wouldn't alter the other widgets, only other HTML widgets.
Find this code and remove,

HTML:
<h3 class="block-minorHeader">{$title}</h3>

1526199606465.webp

Alternatively, there are more advanced solution way available.
If you need different code let me know.
 
I know the thread is older, but instead of modifying templates for something like this I'd just use an HTML widget and check "Advanced Mode", it will remove the wrapper of the block.

If you wanted to still have the default wrapper but no title on the block, just use the following HTML with Advanced Mode still checked.

Code:
<div class="block">
        <div class="block-container">
            <div class="block-body block-row">
                Content here
            </div>
        </div>
</div>
 
Back
Top Bottom