Title: Main Wrapper Background Color
Last modified: August 21, 2016

---

# Main Wrapper Background Color

 *  [ezombie](https://wordpress.org/support/users/ezombie/)
 * (@ezombie)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/main-wrapper-background-color-1/)
 * Hi,
 * I’m trying to change the background color of the content area from white to tan
   in a custom theme I’m creating based on the Twenty Twelve Theme. Firebug is showing
   me that it is div#main.wrapper. I’ve tried modifying the CSS as:
 *     ```
       .wrapper {
       		border-top: none;
       		box-shadow: none;
       		background-color: #c7b199;
       	}
   
       #main {
       background-color: #c7b199;
       }
   
       #main .wrapper {
       background-color: #c7b199;
       }
   
       div#main.wrapper {
       background-color: #c7b199;
       }
       ```
   
 * None of these seem to work. When modify the CSS in Firebug the only thing that
   seems to change the color is modifying the `html, body, div, span, applet, object,
   iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address,
   big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong,
   sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label,
   legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas,
   details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output,
   ruby, section, summary, time, mark, audio, video {margin: 0;
    padding: 0 px; 
   border: 0; font-size: 100%; vertical-align: baseline background-color: #c7b199;}`
 * But this changes practically every element on the site. How do I change the CSS
   rules so that just the #main .wrapper get’s changed?

Viewing 1 replies (of 1 total)

 *  Thread Starter [ezombie](https://wordpress.org/support/users/ezombie/)
 * (@ezombie)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/main-wrapper-background-color-1/#post-4176694)
 * O.K. Nevermind I just tried:
 *     ```
       div#main.wrapper {
       background-color: #c7b199;
       }
       ```
   
 * Again and it fixed the problem this time. Go figure.

Viewing 1 replies (of 1 total)

The topic ‘Main Wrapper Background Color’ is closed to new replies.

## Tags

 * [background, color](https://wordpress.org/support/topic-tag/background-color/)
 * [content area](https://wordpress.org/support/topic-tag/content-area/)
 * [Main](https://wordpress.org/support/topic-tag/main/)
 * [wrapper](https://wordpress.org/support/topic-tag/wrapper/)

 * 1 reply
 * 1 participant
 * Last reply from: [ezombie](https://wordpress.org/support/users/ezombie/)
 * Last activity: [12 years, 7 months ago](https://wordpress.org/support/topic/main-wrapper-background-color-1/#post-4176694)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
