Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Experimental project
This is a sandbox project, which contains experimental code for developer use only.
Path to Body Class v0.1.0
Requirements:
- Drulal 7.x
- Pathauto
This module takes the Pathauto path of the given node, converts it into a string (replacing any slashes with dashes), and then inserts this as a class into the body element of the node.
This is useful when using CSS wildcards for styling sections of your site, but don't want to install and play with the Contex module.
Just install this module like any other, and then start the styling.
Project information
- Minimally maintained
Maintainers monitor issues, but fast responses are not guaranteed. - Created by mlumadue on , updated