Path to Body Class
Categories
Component ID
2841403
Component name
Path to Body Class
Component type
module
Maintenance status
Development status
Component security advisory coverage
not-covered
Component created
Component changed
Component body
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.
