Originally Posted by Marcoayuso
But when I do, the sidebar appears under the content. If I remove it, it goes back to where it should be.
That's not the only thing happening, right?
This code forces Read More to work on the home page. The things on the page that are being added or being removed are causing the problem. The best way to determine which part is causing problems is to compare the two results of running with and without this code. Compare the source of each result to each other. That's where the problem is.
Do you know how to view the source of a web page?
Did you compare the sources of each resulting web page?