Is there a particular reason the omega block tpl puts a section or div container on a block depending whether or not the block has a title? I needed to add Block Classes to my tpl file when this caught my eye.

If you have a handful of Views blocks, user created blocks, and a mix of other block implementations with and without titles, you can wind up with regions that are a mix of section and div generic container tags.

However it would seem that was not meant for generic grouping of single items and that div should be used instead: http://www.impressivewebs.com/html5-section/

I can easily change my own tpl to reflect this, but wanted to know if there was a rhyme or reason to this.

Comments

RKopacz’s picture

Agree that this can get a bit confusing if you have several mixed blocks in one region.

Does anyone know how to edit the block template to just make them all sections, for example?