Title: using custom background for child theme
Last modified: August 21, 2016

---

# using custom background for child theme

 *  Resolved [ryanmk54](https://wordpress.org/support/users/ryanmk54/)
 * (@ryanmk54)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/using-dynamic-background-in-css/)
 * I made a 2012 child theme by changing the background of most of the page elements
   in the style.css. Is there a way I could have the background of all the elements
   change to be the same as the custom background that is set in the wordpress Appearance
   settings?
 * Thanks in advance,

Viewing 4 replies - 1 through 4 (of 4 total)

 *  [paulwpxp](https://wordpress.org/support/users/paulwp/)
 * (@paulwp)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/using-dynamic-background-in-css/#post-3969193)
 * This in child theme stylesheet will do just that. This code works only if there
   is a color or an image set in Custom Background theme setting.
 *     ```
       .site { background-color: transparent; }
   
       @media screen and (min-width: 960px) {
       	body .site { box-shadow: none; }
       }
       ```
   
 *  Thread Starter [ryanmk54](https://wordpress.org/support/users/ryanmk54/)
 * (@ryanmk54)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/using-dynamic-background-in-css/#post-3969238)
 * Thank you. That is exactly what I was looking for! 🙂
 *  [alhabboub](https://wordpress.org/support/users/alhabboub/)
 * (@alhabboub)
 * [12 years ago](https://wordpress.org/support/topic/using-dynamic-background-in-css/#post-3969498)
 * i need your support. i have installed twenty twelve theme. and in the middle 
   there is white background inside it there is posts and header. i need to control
   this white background to make it transparent and change the colour. can you guide
   me how i should do it.. and which php file i should edited.
 *  Thread Starter [ryanmk54](https://wordpress.org/support/users/ryanmk54/)
 * (@ryanmk54)
 * [12 years ago](https://wordpress.org/support/topic/using-dynamic-background-in-css/#post-3969499)
 * Look in the wiki on how to create a child theme. In the child theme you can use
   a styles.css file to change the background of a particular class of elements.
   Use the inspect element feature of your web browser to find the class name of
   the element you want to change.
 * I don’t have wordpress installed anymore so I can’t help you much more than that.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘using custom background for child theme’ is closed to new replies.

## Tags

 * [child theme](https://wordpress.org/support/topic-tag/child-theme/)

 * 4 replies
 * 3 participants
 * Last reply from: [ryanmk54](https://wordpress.org/support/users/ryanmk54/)
 * Last activity: [12 years ago](https://wordpress.org/support/topic/using-dynamic-background-in-css/#post-3969499)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
