WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] How to remove the space above the header in twenty ten? (18 posts)

  1. buddies
    Member
    Posted 1 year ago #

    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/

  2. Andrew
    Forum Moderator
    Posted 1 year ago #

    Are you using Firebug or an equivalent tool?

  3. buddies
    Member
    Posted 1 year ago #

    Yes

  4. buddies
    Member
    Posted 1 year ago #

    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?

  5. Andrew
    Forum Moderator
    Posted 1 year ago #

    Display none your site title?

  6. buddies
    Member
    Posted 1 year ago #

    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?

  7. buddies
    Member
    Posted 1 year ago #

    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.

  8. Andrew
    Forum Moderator
    Posted 1 year ago #

    Try displaying none the site title.

  9. buddies
    Member
    Posted 1 year ago #

    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?

  10. Andrew
    Forum Moderator
    Posted 1 year ago #

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

  11. buddies
    Member
    Posted 1 year ago #

    What do you mean?

  12. Andrew
    Forum Moderator
    Posted 1 year ago #

    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".

  13. buddies
    Member
    Posted 1 year ago #

    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.

  14. buddies
    Member
    Posted 1 year ago #

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

  15. Andrew
    Forum Moderator
    Posted 1 year ago #

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

  16. buddies
    Member
    Posted 1 year ago #

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

  17. Andrew
    Forum Moderator
    Posted 1 year ago #

    If you've edited and uploaded the correct file, yet no changes are apparent on the website, then there's an issue with the server.

  18. buddies
    Member
    Posted 1 year ago #

    I see, thank you very much for your help! I will contact my hosting provider about it then. Take care.

Topic Closed

This topic has been closed to new replies.

About this Topic