• Hello,

    I am using the Twenty Ten theme with the current version of WordPress (4.0).

    There is blank space above the header and above the site title that I would like to remove.

    Any help would be appreciated.

    Thanks!

Viewing 5 replies - 1 through 5 (of 5 total)
  • Hi,
    do you mean top margin?

    If yes, the simplest way is to change one value in theme’s style.css file
    About line 173 is:
    #wrapper {
    background: #fff;
    margin-top: 20px;
    padding: 0 20px;
    }

    You need to comment (or remove) margin-top:

    #wrapper {
    background: #fff;
    /* margin-top: 20px; */
    padding: 0 20px;
    }

    Important thing is that after theme update style.css can be overwritten.

    Thread Starter beleza.jake

    (@belezajake)

    Thank you Patryk for the prompt reply. That worked well.

    Would you also know how to remove the black line from above the header?

    Cheers,

    There is about line 371 in style.css – comment border-top just like below:

    /* This is the custom header image */
    #branding img {
    /*border-top: 4px solid #000;*/
    border-bottom: 1px solid #000;
    display: block;
    float: left;
    }

    I hope this help 🙂

    Thread Starter beleza.jake

    (@belezajake)

    Worked perfectly Patryk. Thank you kindly for your help. Greatly appreciated. All the best.

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Remove whitespace for Twenty Ten theme’ is closed to new replies.