Support » Themes and Templates » [Plugin: Toolbox] Space between body and page

Viewing 6 replies - 1 through 6 (of 6 total)
  • OP here 🙂

    I managed to find:

    html {
    margin-top: 28px !important;
    }
    and found I cannot over-ride it in a child theme

    ie

    html {
    margin-top: 0px !important;
    }

    Is this what is causing this horizontal space?

    If so how can I get rid of it?

    [ Please do not bump, that’s not permitted here. ]

    Same issue…there is also a space under the footer. Somebody found the solution?

    Apologies on the late reply.

    This is to do with the way child element margins effect the parent element position in the box model. The space is caused by the margin of the #site-title element inside the header. It’s called ‘collapsing margins’. There’s some good info on it here: http://www.w3.org/TR/CSS21/box.html

    The fix is simply:
    #site-title {
    margin: 0;
    }

    Marking as Resolved

    I’m having this issue as well, the site title did not fix it. I’m also having an issue with spacing below the footer..

    Moderator Andrew Nevins

    (@anevins)

    @jeromeit you need to create your own thread to discuss your own issues.

    Please don’t post in others’ threads unless you’re contributing towards the original posters’ issues.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘[Plugin: Toolbox] Space between body and page’ is closed to new replies.