Title: Main background image
Last modified: August 21, 2016

---

# Main background image

 *  Resolved [pablo0151](https://wordpress.org/support/users/pablo0151/)
 * (@pablo0151)
 * [12 years, 10 months ago](https://wordpress.org/support/topic/main-background-image/)
 * Hi
 * Apologies if this has been previously answered, but I’m having difficulty with
   my site’s background image:
 * [http://crystal-blue-dreams.com/](http://crystal-blue-dreams.com/)
 * As you can see, I can’t get it to span the entire page. I inserted the image 
   into my twenty twelve child theme using this CSS:
 * > html {
   >  background: url(‘[http://crystal-blue-dreams.com/wp-content/uploads/images/cbd-main-background-1.jpg&#8217](http://crystal-blue-dreams.com/wp-content/uploads/images/cbd-main-background-1.jpg&#8217);)
   > no-repeat center center fixed; -webkit-background-size: cover; -moz-background-
   > size: cover; -o-background-size: cover; background-size: cover; }
 * And then found that I needed to remove this from the main stylesheet:
 * > body {
   >  background-color: #e6e6e6; }
 * This had it working, but then today, I went into the theme manager to change 
   the site strapline and the image has now reverted.
 * Does anybody have any advice on how to fix this?
 * Thanks in advance.
 * Paul

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

 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [12 years, 10 months ago](https://wordpress.org/support/topic/main-background-image/#post-3885231)
 * Remove that CSS and try using Appearance -> Background.
 *  Thread Starter [pablo0151](https://wordpress.org/support/users/pablo0151/)
 * (@pablo0151)
 * [12 years, 10 months ago](https://wordpress.org/support/topic/main-background-image/#post-3885236)
 * Esmi,
 * Thanks for your speedy response. I’ve tried your suggestion:
 * [http://crystal-blue-dreams.com/](http://crystal-blue-dreams.com/)
 * And it’s close to working, but not quite there. The method I was using previously
   had the image displayed with no problems. Would you by chance know how I could
   fix it using the method above?
 * Cheers
 * Paul
 *  Thread Starter [pablo0151](https://wordpress.org/support/users/pablo0151/)
 * (@pablo0151)
 * [12 years, 10 months ago](https://wordpress.org/support/topic/main-background-image/#post-3885249)
 * Apologies, that has fixed the issue.
 * Thanks a lot for your help, Esmi.
 * Cheers
 * Paul

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

The topic ‘Main background image’ is closed to new replies.

## Tags

 * [background](https://wordpress.org/support/topic-tag/background/)
 * [css](https://wordpress.org/support/topic-tag/css/)
 * [image](https://wordpress.org/support/topic-tag/image/)

 * 3 replies
 * 2 participants
 * Last reply from: [pablo0151](https://wordpress.org/support/users/pablo0151/)
 * Last activity: [12 years, 10 months ago](https://wordpress.org/support/topic/main-background-image/#post-3885249)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
