Can color.module be used to set the background color of the theme?

If not where can it be site directly, will it have to be in the CSS itself?

Comments

devin carlson’s picture

Status: Active » Closed (fixed)

Yes, the color module allows you to change the background color of a theme. Of course, your theme will have to support the color module in order to do this.

You can define a color in your color.inc file and then set the background color of the body element or any other element in your color.css file. Doing this will allow you to use the color picker on the theme administration page to dynamically set the background color.

See the Integrating color modulehandbook page for more information on how to integrate color module into your themes.