WordPress: Twenty Eleven Theme : adding color scheme

I looked into making Child Themes and target adding another Color Scheme option for the Twenty Eleven Theme. Ideally what I wanted to change was the background color of the where all the posts were. Figured it out that that background color is controlled by “div id=page”.
To add a Color Scheme option, I found a pretty great website that explains it very well. Theme.fm  The one basic thing I would add is that at the top of function.php page they should probably explicitly add that you need to include:

<?php

My conclusion to this inquiry into changing the “div id=page” background color is that there is a reason why they don’t let you select any color. It throws off some of the graphics like the comment image and it won’t match anymore.

If you did want to change that background image you need it to do it in the style.css. Make a child theme and in the style.css add:

#page {
background: #COLOR
}

Advertisements
This entry was posted in WordPress and tagged , , . Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s