Sidebar falls down when there are no comments on a post
-
Hello pressers,
I have a small problem regarding my installation of WordPress on https://www.justkeepthechange.com
On a post like this one, where there are comments, there is absolutely no problem:
https://www.justkeepthechange.com/why-you-should-move-on-instead-of-wanting-her-backBut if I take a look at a post with no comments, the sidebar falls down. Like this:
https://www.justkeepthechange.com/how-to-sleep-your-way-out-of-pain-and-into-better-mental-healthAt first I thought that it had to do with the theme files or my CSS. So I tried all different kind of things. As an example, If I remove a closing div at the end of the singlepost, the problem gets reversed and the post with comments on lose the sidebar and it reappers at its right place on the post with no comments.
But then I tried changing the theme, and the problem is the same if I choose the TwentyTen theme. The code for the comments section (like this, found on the post with comments in the source)
<!-- You can start editing here. --> <div id="comments"> <h2>Comments:</h2>
I cannot find in any theme file.
Do any of you have any idea what this problems stems from?
I would be absolute for ever grateful, as I have tried battling this for quite some time now. Thank you!
- The topic ‘Sidebar falls down when there are no comments on a post’ is closed to new replies.