Support » Fixing WordPress » How to remove the space above the header in twenty ten?

  • Resolved Buppha

    (@buddies)


    Hi, I am using twenty ten theme and have created a child theme of it. And I have used various methods to remove the empty space above the header, but it did remove a little bit – not a lot, as I wanted to. And when I view single post the space is still there and bigger than the homepage. So, what did I do wrong here?

    I also want to reduce the spaces both on the left and right sides of the container. I think there’s a big gap between the content and the edge of the container, maybe 20px on each side.

    I thank you in advance!

    My website is: http://bupphawitt.com/

Viewing 15 replies - 1 through 15 (of 17 total)
  • Moderator Andrew Nevins

    (@anevins)

    Forum moderator

    Are you using Firebug or an equivalent tool?

    Buppha

    (@buddies)

    Yes

    Buppha

    (@buddies)

    Hi, and thanks for your prompt response! Yes, I do. I found this code:

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

    Is it the code for the top and container?

    Moderator Andrew Nevins

    (@anevins)

    Forum moderator

    Display none your site title?

    Buppha

    (@buddies)

    But, how do I reduce the huge space both on the homepage and the single post, and plus the space between the content and the container?

    Buppha

    (@buddies)

    Here’s the link of the single post: http://bupphawitt.com/start-exercising/. Take a look a the huge space on top of the header.

    Moderator Andrew Nevins

    (@anevins)

    Forum moderator

    Try displaying none the site title.

    Buppha

    (@buddies)

    I did put this code in my child theme:

    #wrapper {
    background:#fff;
    padding: 0 5px;
    }

    #site-title {
    display: none;
    margin-left: 0;
    margin-right: 0;
    margin-top: 0;
    }

    But, it seems like it’s not working. Is it the right code?

    Moderator Andrew Nevins

    (@anevins)

    Forum moderator

    Your Child Theme style.css file has no such style.

    Buppha

    (@buddies)

    What do you mean?

    Moderator Andrew Nevins

    (@anevins)

    Forum moderator

    Click on the link in my last post and look for the code you that you said, “I did put this code in my child theme”.

    Buppha

    (@buddies)

    I have checked, and you were right the code is not there. But, when I went to my cpanel, and checked my child theme the code is there in the style.css. Maybe, it takes some time before it’s being updated.

    Buppha

    (@buddies)

    I don’t understand why nothing has changed, yet? What have I done wrong again?

    Moderator Andrew Nevins

    (@anevins)

    Forum moderator

    If you’ve triple-checked that you’re editing the correct file, you should contact your hosting providers regarding this.

    Buppha

    (@buddies)

    I don’t understand, does it have something to do with my hosting provider?

Viewing 15 replies - 1 through 15 (of 17 total)
  • The topic ‘How to remove the space above the header in twenty ten?’ is closed to new replies.