This module allows you to add custom CSS classes to block titles, enabling different styling options without modifying templates or HTML tags. It's particularly useful for applying Bootstrap-compatible headline styles to your block titles.
Provides a possibility to add a headline class (h1 - h6) to the block title to allow for different styles without changing a template or tag itself.
Features
The module allows to add headline classes as intended in Bootstrap.
For the module to work, make sure the title_attributes get rendered in your block templates:
<h2{{ title_attributes }}>{{ label }}</h2>
Ask your assistant about Block title class
Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works
Depends on
Dependencies of the latest stable release
- block Drupal core
Required by
Tracked projects that depend on this one
No tracked projects depend on this one yet.