[resolved] The body has a margin (2 posts)

  1. jaliciense4784
    Posted 3 years ago #


    I've been looking for a solution, but haven't come up with anything so far.

    I am building my site on wordpress. Everything is going fine, but I have a margin on the entire body on the right. You are able to scroll to the right and see where my header cuts off and there is a white margin. it does not do that with the admin bar at the top, only my theme body. I didn't add any margins to the body, the width is 100%. Anyone have an idea or a link with a solution? I'ved looked at it on a different computers and browsers and it does the same thing.

    here is my website (work in progress)


  2. jaliciense4784
    Posted 3 years ago #

    Answer is here if anyone runs into the same problem. I had padding in the footer of

    padding: 10px 20px;
    width: 100%;

    if the padding is changed to:

    padding: 10px 0;

    it makes the problem go away. The strange thing is that it was doing it on the header rather than the footer. But it works.

Topic Closed

This topic has been closed to new replies.

About this Topic