Colors weeeee!

This project is not covered by Drupal’s security advisory policy.

Ever wanted to be able to add specific themes or styles to individual nodes. YES! I know you have. But you still want control. This module started out as a way to theme font colors on a per node basis. Its simple approach can allow you to do much more.

This module allows you to define classes that you can add to the body tag of your html document on a per node basis. You define the classes that are available in the setting page and use a drop select on the node to choose the style.

In your css you then target the parts of your node you want to theme using the class that is added to the body tag.

For example if I wanted to have red, green, and blue page titles I can then add the following to my css stylesheet.

.red #page-title { color: red; }
.green #page-title { color: green; }
.blue #page-title { color: blue; }

using this method you can even create unique layouts as you can use descendant selectors from the body tag to style anything!

I think a custom path ie (panels/views) pages needs to be added to this as well. If anyone wants to contribute drop me a line.

Project information

  • caution Unsupported
    Not supported (i.e. abandoned), and no longer being developed. Learn more about dealing with unsupported (abandoned) projects
  • caution No further development
    No longer developed by its maintainers.
  • Created by sherakama on , updated
  • shield alertThis project is not covered by the security advisory policy.
    Use at your own risk! It may have publicly disclosed vulnerabilities.

Releases