Is there a way to get the widget title outside of the widget area like this:
<ul>
<li>
<h2 class="widgettitle">The title here</h2>
<div class=""widget>
<!-- any markup here -->
</div>
</li>
</ul>
instead of this:
<ul>
<li>
<div class=""widget>
<h2 class="widgettitle">The title here</h2>
<!-- any markup here -->
</div>
</li>
</ul>
the only reason is that i want the title on top of the widget and I want to apply a padding for all .widget elements, I tried solving it with the styling but it needed some negative margins on the title so I was wondering if we can create a sidebar with a markup like the first example ?
and if we can't do that is there a way to wrap the content without the title with a div ? like this
<ul>
<li>
<div class=""widget>
<h2 class="widgettitle">The title here</h2>
<div class="widgetcontent">
<!-- any markup here -->
</div>
</div>
</li>
</ul>
and thanks in advance.