Closed (fixed)
Project:
Block Class
Version:
7.x-2.0
Component:
Documentation
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
8 Apr 2013 at 21:37 UTC
Updated:
22 Aug 2017 at 16:05 UTC
Jump to comment: Most recent
Comments
Comment #1
Soundvessel commentedWell from recent experience working with local and multiple staging servers we have had some blocks not have the same IDs between servers. This would allow us to target theming without worrying about these sync issues.
Comment #2
mrpauldriver commentedinteresting, I can see the benefits there
Comment #3
autopoietic commentedAlso I would suggest that if using a grid based theme a configurable block class allows the layout properties of the block to be taken care of by layout classes like 'span5' etc in bootstrap.
Comment #4
feuillet commentedAnd one big advantage is the one CSS classes have in general: you can use them multiple times within the same html document.
Just create a new block, put in your desired class and voila, theming done.
Otherwise you would have to edit the css to match the new CSS ID...
Comment #5
mrpauldriver commentedI've been using this for a few weeks now and it is a big time saver. I'll never go back to targeting individual block IDs. Thanks everyone for the input.
Comment #6
rennevat commentedWanted to add that this is one our essential Drupal modules. It has also replaced modules that we previously attempted to use to enforce mobile or screen block display. Now we just add the class that defines whether it should be displayed based on screen size and the blocks render flawlessly. A "must have" module.
Comment #7
renatog commented#3 really make sense.
Thank you very much, guys. Very useful.
Comment #8
renatog commentedIf anyone has any question please comment okay?!
Thank you very much, people.
Regards.