WordPress.org

Ready to get started?Download WordPress

Forums

Decrease space above header (2 posts)

  1. martijnboersma
    Member
    Posted 2 years ago #

    I want to decrease the white space above the header on my website (www.martijnboersma.com). I have tried adding the following code to header.php of the child-theme that I am using of the Hybrid WordPress Theme:

    #wrapper {
    margin-top:-40px;
    min-height:100%;
    min-width:700px;
    position:relative;
    }

    Unfortunately, this didn't work. Any suggestions?
    Thanks in advance!

  2. Odai Athamneh
    Member
    Posted 2 years ago #

    I'm fairly sure negative margins don't work, but don't hold me to that. All that extra white space must be from an existing margin-top somewhere, right? You could look in your header.php to see if you can find it, then comment it out or delete it.

Topic Closed

This topic has been closed to new replies.

About this Topic