Change Widget Title <h> level

Topics: Writing themes
May 19, 2011 at 11:08 PM

I have multiple widgets in a content area.  the titles of which all get rendered with <h1>  I would like the first widget to get <h1> and the remaining to get <h2> .  Or more importantly I'd like control when adding a widget to a content area the markup that surrounds the title.  Any Idea?

Brent Seufert

Coordinator
May 19, 2011 at 11:14 PM

I think I'll write a post on how to change the appearance of the first element in a list. In the meantime, this is a more or less OK solution (although it's not for widgets, it could be adapted easily, I hope): http://stackoverflow.com/questions/5981650/how-do-i-render-the-various-parts-like-tags-of-a-blog-post-in-orchard-cms/5986268#5986268