• Resolved Disneyzell

    (@disneyzell)


    working hard to put this in the right spot. I was able to remove the white space from the top and bottom of my header image. Now I want to remove the white from the sides. I’m using catch-box and my website is here: http://ckstrengthacademy.com/

    If anyone can help that would be great.

Viewing 14 replies - 1 through 14 (of 14 total)
  • Hi Disneyzell

    Add this to you custom css:

    #header-content {
    margin: 0;
    }
    Thread Starter Disneyzell

    (@disneyzell)

    HI. thanks for the code. I put it in. The interesting thing is that when I look at the site in the customize section of wordpress the white is all gone.

    When I look at the site on Chrome the white is gone from the left but not the right.

    When I look at it in safari or firefox it doesn’t look any different.

    I cleared cache and still the same results.

    Thoughts?

    try

    #header-content {
    margin: 0 !important;
    }
    Thread Starter Disneyzell

    (@disneyzell)

    nope, same thing. Although now Safari and Firefox have joined the party. 3 sides are up against the background with just white on the right. could it be a size of the image issue?

    Try this.

    #page {
    background: transparent;
    }

    Thread Starter Disneyzell

    (@disneyzell)

    nope. but I noticed something interesting. When I shrink the page the white space goes away. once the white space is gone if I shrink it more the header contracts with the page. It’s almost like the header doesn’t expand enough? Do I just need to make a bigger header?

    In another thread about page width the solution was width: 80%.
    Just below that line add
    max-width: 1000px;
    See if that will work

    Thread Starter Disneyzell

    (@disneyzell)

    did not work. I decided to try a bigger image for the header. The interesting thing is that solved the issue for chrome. but not for FF or Safari.

    Here is my custom CSS as it stands right now:

    #header-content {
    line-height: 0;
    margin: 0 3%;
    padding: 0em 0;
    }
    #branding #site-logo img {
    margin: 0;
    padding: 0;
    }
    html,body {
    margin:0;
    padding:0;
    }
    #metaslider_32 {
    float: left;
    margin: 0 18px 18px 0;
    }
    #header-content {
    margin: 0 !important;
    }
    .content-onecolumn #page {
    max-width: 80%;
    max-width: 1000px;
    }
    Try this.
    #page {
    background: transparent;
    }
    #branding #access{
    background: #0000E0;
    }

    Thread Starter Disneyzell

    (@disneyzell)

    ok, not sure if it took time to go out or what…but looks like the last change did it. Thank you very much!

    Hi Disneyzell

    Can you tell me how to remove the white space from the top and bottom of my header image?

    salsaturation: thanks for the side code!!!

    got it from your code. thanks

    I’ve tried all of the suggestions to remove the white space from the sides of my header and can’t figure it out. More ideas?
    My website http://www.margaretledane.com using Thesis.
    Thanks!!

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    Could you create a new thread here: http://wordpress.org/support/theme/catch-box#postform
    Thanks

    This has started happening to me too. Down both sides of the entire site, narrow white margins, only in Chrome, not in Safari or Firefox. Will try batharoy’s max width fix, but would appreciate any other suggestions as well.

Viewing 14 replies - 1 through 14 (of 14 total)
  • The topic ‘Remove white space from the sides of header background image’ is closed to new replies.