Matching content and sidebar length in Wordpress

efeezy

New member
Oct 5, 2007
5,250
136
0
50
I'm working with a wordpress template that is having difficulties with the post content section. The sidebar extends down with menu content, but if there's not enough content in the body of the post, it pulls the template background up so the sidebar menu hangs down with no background. Take a look at the photo and you'll see what I'm referring to. I'm sure it's an easy fix, but I just can't find the code for it. Any suggestions?

sidebar.gif
 


I think if you set a min-height for main your should resolve this issue..
Edit your stylesheet.css through dashboard/appearance/editor.
find
#main {
....
min-height:500px <-- Add this line
}

if that doesn't do the trick, delete that and try the same thing under the #contentwrapper heading. Adjust the 500px up or down until you get the results you want.
 
sorry.. i didn't read the post carefully.. add the min-height to what ever div you are having a problem with
 
Print the page out and then use a pair of scissors to cut out the offending area. Problem fixed.

Psst... if you post the url here we can probably take a look at the css sheet and tell you what's buggered.
 
Thanks. The footer was missing the <div id= #footwrap> tag. Once I got that back in there, it bumped everything down to the right place.