Advertising sustains the DA. Ads are hidden for members. Join today

Contributed module documentation

Block Class

This project allows users to add classes to any block through the block's configuration interface. By adding a very short snippet of PHP to a theme. Classes can be added to the parent  element of a block. E.g.:

<div class="block your-class">

Hooray for more powerful block theming!

Please follow the sub-pages for more information about each step

Version compatibility

Block class version branches compatibility matrix describing upgrade paths and which version is not compatible for upgrade.

Block Configuration

Steps to configure correctly your block classes

Attributes

Adding attributes

Global Configuration

Settings for Block Class

Block List

Allow to see all blocks that have block class added

Bulk Operations

Feature that allows you to update and remove multiple classes

Guide maintainers

dydave's picture
renatog's picture