Skip to main content
drupalreleases

Use direct release data with your AI assistant.

Learn more

Block Classes

Security covered Under active development 5,990 sites

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.

Drupal 8–11

Ask your assistant about Block Classes

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.

Activity

Tracked releases
2
Tracked since
Sep 2024
Latest release
1 year ago
Releases (12 mo)
0 ▼ from 1
Maintenance
Active

Releases

Version Type Core PHP Release date
1.0.4 Stable 8–11 Aug 22, 2025
1.0.3 Stable 8–11 Sep 12, 2024