WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I spent almost an hour searching why my sidebar here:


Is dropping to the bottom of the page.

Could you please advise on how to fix it?


share|improve this question
up vote 2 down vote accepted

Your #leftcontent div is not closed out with a closing </div> tag after your loop.

Edit your index.php, find the Loop, and look for the end of the loop (usually it looks like endwhile; endif;. Add a closing </div> tag immediately after that (but outside of the <?php ... ?> tags).

share|improve this answer
Perfect - thank you so much! – Tal Galili Mar 18 '11 at 22:18
+1 for the pesky closing div tag...gets me every time when I move too fast. – Ray Mitchell Mar 18 '11 at 22:19
Actually, wait... I think I was wrong. The problem is in one of your posts... the one titled "Machine Learning Ex5.1 – Regularized Linear Regression". There's a beginning <div> tag in the post content there, that's not closed out. That seems to be why the rest of the page is unbalanced. – goldenapples Mar 18 '11 at 22:20

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.