Title: fixed background code don&#039;t work?
Last modified: August 22, 2016

---

# fixed background code don't work?

 *  [canalnews](https://wordpress.org/support/users/canalnews/)
 * (@canalnews)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/fixed-background-code-dont-work/)
 * Hello
 * I want a fixed image background to my page, but there is no way that the image
   is fixed. I put this code:
 * > body { background:#f6f6f6 url(images/patterns/pattern12.png) no-repeat; background-
   > attachment: fixed; font-family:Arial; font-size:12px; }
 * I have made a mistake?
 * Thank for your help…

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

 *  [stephencottontail](https://wordpress.org/support/users/stephencottontail/)
 * (@stephencottontail)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/fixed-background-code-dont-work/#post-5406395)
 * Can you post a link to your site?
 *  Thread Starter [canalnews](https://wordpress.org/support/users/canalnews/)
 * (@canalnews)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/fixed-background-code-dont-work/#post-5406397)
 * of course, excuse me…
    is still under construction 😉
 * [http://www.cinespana.es](http://www.cinespana.es)
 *  [stephencottontail](https://wordpress.org/support/users/stephencottontail/)
 * (@stephencottontail)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/fixed-background-code-dont-work/#post-5406400)
 * You’ve got this bit of CSS in your header that’s preventing it from working. 
   It may have been added by a theme option or a plugin.
 *     ```
       body {
       background:#F6F6F6 url('http://www.cinespana.es/wp-content/themes/Avenue/images/patterns/pattern12.png') repeat;
       }
       ```
   
 *  Thread Starter [canalnews](https://wordpress.org/support/users/canalnews/)
 * (@canalnews)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/fixed-background-code-dont-work/#post-5406499)
 * Hello Stephen,
 * I have corrected the error in the header and now works correctly.
 * Thank you very much for your help 😉
 * regards

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

The topic ‘fixed background code don't work?’ is closed to new replies.

## Tags

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

 * 4 replies
 * 2 participants
 * Last reply from: [canalnews](https://wordpress.org/support/users/canalnews/)
 * Last activity: [11 years, 7 months ago](https://wordpress.org/support/topic/fixed-background-code-dont-work/#post-5406499)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
