Page Specific Class
This module allows you to add custom CSS classes to the `<body>` tag of specific pages based on their URL paths. This can be useful for applying unique styling to different sections of your website.
Ability to add HTML attribute classes for CSS styling to the <body> tag based on path conditions. Specify body classes for pages by using their paths.
Features
- Add different classes to the body tag of any page.
- Support all Pages which can be created via Node, Views or Custom Route
How to use?
============
To learn more about the project and how to install and use it check out the README.txt. Feel free to report issues and by helping on the documentation pages.
Video tutorial = Check on Youtube
Similar projects with different attempts:
- Custom Body Class (very similar)
- Body node ID class
- Extra body classes
Depends on
Dependencies of the latest stable release
No dependencies recorded for this project.
Required by
Tracked projects that depend on this one
No tracked projects depend on this one yet.
Activity
Release Timeline
Releases
| Version | Type | Core | Notes | Release date | |
|---|---|---|---|---|---|
| 2.0.10 | Stable | 9–11 | May 29, 2025 | ||
| 2.0.9 | Stable | 9–11 | May 7, 2025 | ||
| 8.x-1.x-dev | Dev | 8–9 | May 7, 2025 |