Closed (won't fix)
Project:
Zen
Version:
7.x-5.x-dev
Component:
PHP/JS code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
29 Jun 2012 at 22:55 UTC
Updated:
28 Jul 2013 at 14:24 UTC
Jump to comment: Most recent file
Comments
Comment #1
gg4 commentedpatch attached.
Comment #2
johnalbinIn general, I'm not in favor of region-specific (or context-specific) styling. A single class should always present the same styling no matter where on the page that class appears.
If a specific block needs different HTML, you should use a theme hook suggestion specific to the block, not specific to the region.
If you want to add a class to all blocks in a region and that class provides a consistent styling, then the theme hook suggestion you proposed would be useful. But that is an edge case that you should implement for your specific sub-theme. :-)