WordPress.org

Forums

[resolved] Trying to move up the header... (4 posts)

  1. VBPartners
    Member
    Posted 4 years ago #

    I've looked through the archives and tried a few things but no luck...

    trying to move the header up on www. sterlingdiversified . com so that the white background gap disappears.

    anyone can point me in the right direction?

    (I've looked at the the css and header, can't find the right place for it.)

    Thanks!

  2. Shayne Sanderson
    Member
    Posted 4 years ago #

    Looking at your stylesheet, you can edit the following area:

    body{
    color:#000;
    background-color:#fff;
    border:solid 0px #000;
    padding:0px;
    margin:15px 15px 15px 15px;
    }

    I normally don't recommend using negative values, but I can't find anywhere else in there that affects it, so change your top margin to -15px like this:

    body{
    color:#000;
    background-color:#fff;
    border:solid 0px #000;
    padding:0px;
    margin: -15px 15px 15px 15px;
    }

    That should do it.

  3. VBPartners
    Member
    Posted 4 years ago #

    Hi Shayne,

    Thank you soooo much :)

    Really appreciate it... it works!

  4. Shayne Sanderson
    Member
    Posted 4 years ago #

    No problem. Glad to help.

Topic Closed

This topic has been closed to new replies.

About this Topic