WordPress.org

Ready to get started?Download WordPress

Forums

Margin-Top problem (7 posts)

  1. koiphish
    Member
    Posted 9 years ago #

    I hate the blank space at the top of the design... i went into header.php and style.css and tried to set the margin-top to zero... no effect whatsoever.

    Anyone know the exact file and line I need to change to get this blank space set to zero?

  2. satoshi
    Member
    Posted 9 years ago #

    At the top of the Kubrick (default) theme? That's part of the header image, actually.

  3. koiphish
    Member
    Posted 9 years ago #

    thats just a few pixels high.. i can handle that... the html itself is creating a huge blank area.... usually can fix that by setting margin-top: 0px;

  4. satoshi
    Member
    Posted 9 years ago #

    Could I see this huge blank area?

  5. koiphish
    Member
    Posted 9 years ago #

    Yeah.. check it out on shaynes: http://www.shaynesweeney.com/wordpress/?page_id=7

    Then view the image... the images top space is only a few pixels high.

  6. sleep
    Member
    Posted 9 years ago #

    in style.css, on line 217 change

    margin: 20px auto;

    to

    margin: 0px auto;

    If you wanted to get rid of the rest you need to modify kubrickheader.jpg.

  7. satoshi
    Member
    Posted 9 years ago #

    Where it says /* Begin Structure */

    Find #page and add margin-top:0px;

    Took me a while to find where it was. I even tried the #page under the typography heading (thinking it was the same #page as the structure one) and it didn't work.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.