I was wondering if anybody has looked into the following - or if I'd need to create my own little module here:
I know that I can style individual blocks via their block-id or the position on my page. However, I'd like to be able to set a CSS class in my block configuration (maybe even with a drop down of styles available from a given CSS file?) so that I don't need to change/edit CSS code every time I want to select a different style for a particular block.
In other words instead of extending the list of ids of the desired style with the resp block-id in my CSS file, I'd rather like have one (or more) defined block.classes that I can set from the block configuration page. The selected CSS class will then be written into the block code and thus "re-use" the same style(s) on several blocks from the block configuration page.
Any ideas? I've searched modules for a while, but nothing found so far ...
Thanks
Comments
Block Theme
Perhaps Block Theme is what you're looking for?
This module will do the trick - and even more ...
Thanks for the quick reply and pointing me into the right direction - I somehow didn't find this excellent module while browsing ... maybe becuase I didn't think of theming originally but this module will give me even more opportunities than pure CSS class styles (for then also being able to control content of a set of blocks).
Thanks again!
Georg