Active
Project:
Omega
Version:
7.x-3.0-rc4
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
12 Aug 2011 at 18:31 UTC
Updated:
12 Jun 2012 at 23:05 UTC
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
Comment #1
RKopacz commentedAgree 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?