• Resolved lkpharmrep

    (@lkpharmrep)


    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? https://www.letsnotbefriends.com

    Thanks!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter lkpharmrep

    (@lkpharmrep)

    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.

    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

    (@lkpharmrep)

    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.