WordPress.org

Forums

Vantage
[resolved] How to remove spacing to the left of the header (5 posts)

  1. Jack Chappell
    Member
    Posted 1 year ago #

    Hello guys,

    On my site http://www.polyethylenepipelines.co.uk/wordpress/ is there anyway i can remove the white spacing to the left of my header/banner image?

    Thanks :)

  2. technoHampto
    Member
    Posted 1 year ago #

    Hello Jack,

    You have a couple of options.

    1) You could copy and paste this into the bottom of your style.css file

    header#masthead {
        background: #fdf20c;
        -ms-box-sizing: border-box;
        -moz-box-sizing: border-box;
        -webkit-box-sizing: border-box;
        box-sizing: border-box;
        padding: 0 35px 0 35px;
    }

    OR (My preference)

    Go to line 554 in style.css and change:

    background: #ffffff; to background: #fdf20c;

    Or you could just change the size of the logo.

    I hope that helps

  3. Jack Chappell
    Member
    Posted 1 year ago #

    Thank you very much, i added `header#masthead {
    background: #fdf20c;
    -ms-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    padding: 0 35px 0 35px;
    }` to the custom CSS and this worked perfectly, thanks!

  4. technoHampto
    Member
    Posted 1 year ago #

    No problem. I highly recommend you actually strip down the width of your logo from 2000px! to about so just the PPC is in the logo. If you do this, it would look super sweet when the site starts to collapse into it's tablet / mobile form.

  5. Jack Chappell
    Member
    Posted 1 year ago #

    Oops yeah just did that! Thank you very much, looks much better now :)

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic