Wordpress sidebar column pushed down following the main column
I have Wordpress blog, and the problem I am having is that the sidebar of the blog is being pushed down after the main column for the content of each post. The theme is Papercut and the PHP for each p开发者_运维技巧ost is singe.php
http://www.mirabaz.com/wordpress/articles/cnn-ireport-features-sanaa-music-festival/
This is the home page http://www.mirabaz.com. As you can see the sidebar has to on right side of the page.
If i remove the code the shoes the content of the post, then it the sidebar comes back to the original position. But the content is blank. Please advise.
You have an out of place and extra <div class="footer">
tag right below <body>
in your index.php or header.php file, and that looks for a </div>
closing tag, and both are throwing your sidebar out of place. You can see it in your W3C code validation report:
[Invalid]Markup Validation of mirabaz.com wordpress - W3C Markup Validator. Scroll down in the validation report to see line numbers and source code. Some of the code erros don't effect display, but the <div>
errors will.
The problem is that your #right-col is inside the #left-col, when they should be at the same level. Check your closing div tags as this is probably the issue.
Hope this helps, Alin
精彩评论