Title: Adding a Background Image
Last modified: August 18, 2016

---

# Adding a Background Image

 *  [ppragados](https://wordpress.org/support/users/ppragados/)
 * (@ppragados)
 * [18 years, 10 months ago](https://wordpress.org/support/topic/adding-a-background-image/)
 * [Site here](http://catalystonline.freehostia.com/)
 * I’ve searched through the support for codes to replace my style sheet header 
   code but none of them worked. Either It created a repeating pattern all over 
   the place (not just in headerand threw off placement of nav) even though it says“
   repeat:no repeat” or it goes to the far left. Also I want to keep the format 
   and the title along with the description. I just want to add a background in 
   the back of all of that in the header.
 * Also, if need be I’d love to make the header a little bigger length wise. But
   want to fill up the width.
 * I’ve looked at the Designing a Header, but it didn’t quite work out. Any pointers
   are greatly appreciated!
 * thanks in advance
 * ps:my style sheet header code
 * #header {
    background: #FFFFFF; width: 960px; margin: 0px auto 0px; padding: 
   10px 0px 10px 0px; text-align: center; border-top: 5px solid #658DB5; text-transform:
   uppercase; }
 * #header a {
    font-family: Times New Roman, Helvetica, Sans-Serif; font-size: 
   48px; color: #333333; text-decoration: none; padding: 0px 10px 0px 10px; margin:
   0px; text-transform: uppercase; }
 * #header a:hover{
    color: #333333;

Viewing 1 replies (of 1 total)

 *  [4k](https://wordpress.org/support/users/4k/)
 * (@4k)
 * [18 years, 10 months ago](https://wordpress.org/support/topic/adding-a-background-image/#post-592949)
 * This is how I added an image to my header, you would of course want to change
   to no-repeat
 * #sitename {background : url(images/header.png) repeat-x;
    color:#ffffff; height:
   138px; margin:0 20px 10px; text-align:left; }
 * What I did was upload the image to the image file, and change the height parameter
   to fit the image, well I also changed the padding of the site description so 
   it didn’t go right over the image.

Viewing 1 replies (of 1 total)

The topic ‘Adding a Background Image’ is closed to new replies.

## Tags

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

 * 1 reply
 * 2 participants
 * Last reply from: [4k](https://wordpress.org/support/users/4k/)
 * Last activity: [18 years, 10 months ago](https://wordpress.org/support/topic/adding-a-background-image/#post-592949)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
