Title: Repeating background image issue
Last modified: August 19, 2016

---

# Repeating background image issue

 *  Resolved [viperousmango](https://wordpress.org/support/users/viperousmango/)
 * (@viperousmango)
 * [15 years, 7 months ago](https://wordpress.org/support/topic/repeating-background-image-issue/)
 * Hey guys,
 * This is my first shot at transitioning an HTML/CSS template to WordPress and 
   I’m having some trouble with a repeating background image.
 * This is my blog link: [Blog](http://blog.virtuallycreative.ca)
 * I’m not sure where in my CSS I’m screwing this up, but here are my CSS properties
   for the background:
    `body { background: url(images/bg2.png); font-size:12px;
   font-family:'Lucida Grande', 'Lucida Sans Unicode', Tahoma, Arial, san-serif;
   color:#000000;}`
 * Any help would be appreciated, thanks!

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

 *  [Jaiganesh Mani](https://wordpress.org/support/users/jaishem/)
 * (@jaishem)
 * [15 years, 7 months ago](https://wordpress.org/support/topic/repeating-background-image-issue/#post-1730058)
 * viperousmango
 * Your Background image height is 937px but the content in this page is more than
   937px.
 * Change the background image height.
 * Jai
 *  Thread Starter [viperousmango](https://wordpress.org/support/users/viperousmango/)
 * (@viperousmango)
 * [15 years, 7 months ago](https://wordpress.org/support/topic/repeating-background-image-issue/#post-1730063)
 * True, but wouldn’t the length be dynamic depending on how long the post is? thus,
   in this case making the site longer than the background?
 * How can I repeat white once the background image has run out so that it gives
   the illusion that the image continues?
 * Would adding a `repeat-x: #FFFFFF;` to the body tag help in this instance? It
   would look like:
 * `body { background: url(images/bg2.png); repeat-x: #FFFFFF; font-size:12px; font-
   family:'Lucida Grande', 'Lucida Sans Unicode', Tahoma, Arial, san-serif; color:#
   000000;}`
 *  [Jaiganesh Mani](https://wordpress.org/support/users/jaishem/)
 * (@jaishem)
 * [15 years, 7 months ago](https://wordpress.org/support/topic/repeating-background-image-issue/#post-1730068)
 * no need to add #ffffff
    this will do… background:url(“images/bg2.png”) repeat-
   x; color:#000000; font-family:’Lucida Grande’,’Lucida Sans Unicode’,Tahoma,Arial,
   san-serif; font-size:12px;
 * in this case the bg image show only one time and bg will be white after the bottom
   image.
 *  Thread Starter [viperousmango](https://wordpress.org/support/users/viperousmango/)
 * (@viperousmango)
 * [15 years, 7 months ago](https://wordpress.org/support/topic/repeating-background-image-issue/#post-1730076)
 * Ok, i tried the above fix and uploaded the new style.css to the blog but I’m 
   still having the same issue.
 *  [Jaiganesh Mani](https://wordpress.org/support/users/jaishem/)
 * (@jaishem)
 * [15 years, 7 months ago](https://wordpress.org/support/topic/repeating-background-image-issue/#post-1730302)
 * I checked your CSS,
 * background-repeat SHOULD BE
    background-repeat: repeat-x; NOT background-repeat:
   repeat;
 * See your CSS and update
 * body (line 14)
    { background-color: transparent; background-image: url(“images/
   bg2.png”); background-repeat: repeat; background-attachment: scroll; background-
   position: 0% 0%; font-size: 12px; font-family: ‘Lucida Grande’,’Lucida Sans Unicode’,
   Tahoma,Arial,san-serif; }
 *  Thread Starter [viperousmango](https://wordpress.org/support/users/viperousmango/)
 * (@viperousmango)
 * [15 years, 7 months ago](https://wordpress.org/support/topic/repeating-background-image-issue/#post-1730306)
 * Ahh, thank you!! That did the trick.

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

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

## Tags

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

 * 6 replies
 * 2 participants
 * Last reply from: [viperousmango](https://wordpress.org/support/users/viperousmango/)
 * Last activity: [15 years, 7 months ago](https://wordpress.org/support/topic/repeating-background-image-issue/#post-1730306)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
