• Resolved Robertchen

    (@robertchen)


    Hi,

    For some reason, my homepage shows the sidebar on the front page only. When I click to a post, the sidebar comes back to where it should be. I have searched the forums and see that this is a common problem but haven’t been able to find the source of the problem.

    I’ve increased the memory limit from my host/
    The “WordPress should correct invalidly nested XHTML automatically” was checked the entire time

    I’m not really sure how to go into the code as some of the other troubleshooting suggests. I don’t really understand how to go about looking for <div> inconsistencies and where to start.

    The site is https://www.embracepossibility.com/blog

    Thanks!

Viewing 5 replies - 1 through 5 (of 5 total)
  • WordPress does not correct invalid XHTML automatically. You may have an open tag issue.
    Looking at the source structure of your regular posts (which is fine) it looks like this:

    <div id="pagelines_content">
       <div id="column-wrap">Left content area</div>
       <div id="sidebar-wrap">right sidebar</div>
    </div>

    On your home page:

    <div id="pagelines_content">
       <div id="column-wrap"><div id="sidebar-wrap">sidebar went inside the left content</div></div>
    </div>

    This happens because somewhere in you left content area, there might be a missing closing tag and so the column-wrap is getting the closing </div> from the sidebar, putting everything inside.

    Sometimes, the problem may be inside one of the posts. You can start open them in HTML mode to see if you can find any missing tag there.

    Thread Starter Robertchen

    (@robertchen)

    Thanks Harrison. What am I looking for specifically when I go into each post?

    Can I change the source structure of my homepage?

    I see you just fixed. I believe you have removed the bottom part right? if that is correct then the missing </div> is probably associated with that part.

    Maybe I got confused with the sidebar at the bottom and I thought there was something else there. Anyway, the problem got solved and I can see the source structure is now correct and matching the single posts. Whatever you did fixed the problem.

    Thread Starter Robertchen

    (@robertchen)

    Hi Harrison, I am not sure what I did. I’ve been trying a million things but you’re right, it has been fixed. Thanks and enjoy your weekend!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Sidebar showing on bottom on front page only’ is closed to new replies.