Wrapper background not coming through (3 posts)

  1. jesdschup
    Posted 5 years ago #

    My site is here: http://jschu.org/watson

    I have a 400px main content area and a 180px sidebar. They're both contained in #wrap. I have the background for #wrap set to be a repeating pixel-high image. For some reason the background's not coming through. I've designed a fair number of wordpress sites, but I'm tired and for some reason I can't figure out why the background's not working.


  2. Michael
    Forum Moderator
    Posted 5 years ago #

    you need to clear the floats of your main and sidebar before the closing div of #wrap;

    search the web for 'clearfix' or similar...

    adding something lke this to style.css of your theme might possibly work:

  3. jesdschup
    Posted 5 years ago #

    Thanks. I guess usually I put the footer inside the wrap which takes care of the clearing. I added an empty div and it works now.

Topic Closed

This topic has been closed to new replies.

About this Topic