Skip to main content
drupalreleases

Use direct release data with your AI assistant.

Learn more

View Body Classes

Security covered Under active development 18 sites

This module adds CSS classes to the body of a page when a view is displayed, allowing for easier styling of view output. The classes added correspond to the view's ID and display ID.

Add contextual CSS classes to the body of the page when displaying a view.

The module currently adds two classes to the body of the page:

  • view-id--[view_id]
  • view-display--[display_id]
Drupal 11 · not 10

Ask your assistant about View Body 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

  • views Drupal core

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
4
Tracked since
Dec 2024
Latest release
1 day ago
Releases (12 mo)
2
Maintenance
Active

Release Timeline

Releases

Version Type Core PHP Release date
1.1.0 Stable 11 Nov 21, 2026
1.1.x-dev Dev 10–11 Aug 24, 2026
1.0.0 Stable 10–11 Dec 19, 2024
1.0.x-dev Dev 10–11 Dec 19, 2024