WordPress.org

Support

Support » How-To and Troubleshooting » Footer moves next to header

Footer moves next to header

Viewing 1 replies (of 1 total)
  • TheIconoclast
    Member

    @theiconoclast

    Well, I feel kind of silly. I can’t edit my post anymore, but for future reference, I forgot to do this:

    “#footer
    {
    clear: both;
    }

    This tells the browser not to allow any floating elements on either side of the footer. When we look at the site now, we will find that the sidebar has been neatly tucked in the proper place, and our page matches the original design. Putting the footer hr inside the div ensures that the hard-rule doesn’t get wrapped as well.”

    From UrbanGiraffe’s WordPress guide.

Viewing 1 replies (of 1 total)
  • The topic ‘Footer moves next to header’ is closed to new replies.