Skip to main content
Drupal is a registered trademark of Dries Buytaert
Release: OpenID Connect / OAuth client 3.0.0-alpha9 New alpha version released for module openid_connect (3.0.0-alpha9). Release: Timelinr 1.0.1 Minor update available for module timelinr (1.0.1). Usage Milestone: Simplify Module simplify crossed 10,000 active installs. Usage Milestone: Views Reference Filter Module entityreference_filter crossed 10,000 active installs. Usage Milestone: Dropdown Language Module dropdown_language crossed 10,000 active installs. Usage Milestone: Paragraphs Browser Module paragraphs_browser crossed 10,000 active installs. Usage Milestone: OpenAPI Module openapi crossed 10,000 active installs. Usage Milestone: Decoupled Router Module decoupled_router crossed 10,000 active installs. Usage Milestone: Time Field for Drupal 8+ Module time_field crossed 10,000 active installs. Module Revived: Entityqueue Buttons 1.1.2 Module entityqueue_buttons updated after 8 months of inactivity (1.1.2).

Body Class

68 sites Security covered Drupal 9–11
View on drupal.org

This module allows you to add custom CSS classes to the body tag of individual nodes when creating or editing content. These classes can then be used for styling specific pages with CSS.

Body Class is a simple module that allows users to add custom body classes to any node through the node/add interface. The respective classes will be appearing in body tags

Download using Drush
drush dl -y body_class

Enable using Drush
drush en -y body_class

Disable using Drush
drush dis -y body_class

Uninstall using Drush
drush pmu -y body_class

Similar module

Depends on

Dependencies of the latest stable release

  • node Drupal core

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
5
Tracked since
Apr 2025
Latest release
7 months ago
Releases (12 mo)
4 ▲ from 1
Maintenance
Slowing

Release Timeline

Releases

Version Type Core Release date
2.0.x-dev Dev 9–11 Jan 29, 2026
1.1.1 Stable 9–11 Jan 29, 2026
1.1.x-dev Dev 9–11 Jan 29, 2026
1.1.0 Stable 9–11 Nov 12, 2025
1.0.0 Stable 9–10 Apr 8, 2025