Block Classes
6,048 sites
Security covered
This module allows users to add custom CSS classes to block titles, content, and wrappers directly through the block's configuration interface, avoiding the need for custom Twig template overrides.
Block Classes allows users to add classes to block title, content, and wrapper of any block through the block's configuration interface. This module extends the Block Class module features.
In some cases, we have to write twig file for blocks, if we want to add separate classes for block wrapper, title, and its content. Instead of writing twig's, we can handle it using the Block Classes module.