Title: Custom Header Width
Last modified: August 19, 2016

---

# Custom Header Width

 *  Resolved [lkpharmrep](https://wordpress.org/support/users/lkpharmrep/)
 * (@lkpharmrep)
 * [16 years, 8 months ago](https://wordpress.org/support/topic/custom-header-width/)
 * I have been trying to edit a WordPress theme for my website and overall I have
   made good progress. However, I cannot figure out how to make my custom header
   wider to match the width of my pages. I have tried adjusting the image width 
   but it only moves it to one side. It is currently set at 100% which I thought
   meant it would match the width of my pages. I have tried to set it at different
   px settings and none have worked.
 * I’m also wanting to get rid of the white areas on the sides of my pages. I want
   the black to fill in the entire area of the page.
 * Can someone take a look at my site & give me some advice? [http://www.letsnotbefriends.com](http://www.letsnotbefriends.com)
 * Thanks!

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

 *  Thread Starter [lkpharmrep](https://wordpress.org/support/users/lkpharmrep/)
 * (@lkpharmrep)
 * [16 years, 8 months ago](https://wordpress.org/support/topic/custom-header-width/#post-1215932)
 * I also wanted to note that I checked the width and height of the header I replaced
   before changing it and made my custom header the same size. However, it still
   didn’t fit correctly.
 *  [figaro](https://wordpress.org/support/users/figaro/)
 * (@figaro)
 * [16 years, 8 months ago](https://wordpress.org/support/topic/custom-header-width/#post-1215934)
 * It’s going to be difficult to make your image variable width unless you cut out
   part of it and make it repeat across the page. The simplest solution may be to
   find the following code in style.css:
 *     ```
       div#page {
       text-align:left;
       width:100%;
       }
       ```
   
 * and add a background color like this:
 *     ```
       div#page {
       background-color:#000000;
       text-align:left;
       width:100%;
       }
       ```
   
 *  Thread Starter [lkpharmrep](https://wordpress.org/support/users/lkpharmrep/)
 * (@lkpharmrep)
 * [16 years, 5 months ago](https://wordpress.org/support/topic/custom-header-width/#post-1216359)
 * Thanks for the help. I appreciate it!

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

The topic ‘Custom Header Width’ is closed to new replies.

## Tags

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

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 3 replies
 * 2 participants
 * Last reply from: [lkpharmrep](https://wordpress.org/support/users/lkpharmrep/)
 * Last activity: [16 years, 5 months ago](https://wordpress.org/support/topic/custom-header-width/#post-1216359)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
