Sidebar

  • Unknown's avatar

    How do I move my sidebar from underneath blog posts to the side? I have reviewed the “sidebar” section of wordpress that helps to fix the issue of the sidebar moving below a post, but it has not helped me. My sidebar is underneath every post and I’m unable to figure out how to reconfigure it so that it shows up at the top on the side of the page.

    The blog I need help with is: (visible only to logged in users)

  • Unknown's avatar

    Can you review for us specifically how you tried to fix this? What steps exactly did you take? That’s the classic sidebar below posts error, the classic fix should have fixed it.

  • Unknown's avatar

    I followed these steps:
    Go to Settings -> Reading in your blog’s dashboard and temporarily change the Blog pages: show at most option to 1.
    Visit the front page of your blog.
    Use the next/previous links (at the bottom of the pages) to navigate backwards through your posts. If every post has the sidebar issue, this most likely means that it is caused by something in your sidebar (any text widgets you may be using which include HTML code). If only some posts suffer from the problem, it is most likely caused by the content in those particular posts.
    Once you narrow it down to a post, go to Posts -> All Posts and click on the post you want to edit. Click on the Text tab of your editing window and look for any extra HTML tags. The most common tags known to cause the problem are <div> tags:
    Remove all <div> tags from the post content.

    I didn’t have <div> tags to remove, and it’s not part of the widgets in the sidebar because it has been in this format right from the beginning- before I added anything.

  • Unknown's avatar

    Okay, do this instead, because that’s missing the most important step:

    https://en.forums.wordpress.com/topic/sidebars-not-visible?replies=5#post-1125653

    go to Settings > Writing, tick the option “WordPress should correct invalidly nested XHTML automatically”, click Save Changes.

  • Unknown's avatar

    That option is already checked off.

  • Unknown's avatar

    I strongly suggest, given the obvious copy/pasting that you’re doing, that you go to the bulk Posts editor, select the most recent 20 posts, set them to Draft, then set them back to Public. Clearly you have HTML errors in your posts, and this will take care of the most recent 20; it forces that change above to take effect on those posts. It does not take effect until those posts have been edited in some way, like getting sent to Draft. So if that doesn’t fix it, do the same to the previous 20 posts, and so on until it is fixed.

  • Unknown's avatar

    That didn’t work either. Setting posts to draft and then republishing them did not change anything. Also, I’m not sure what you mean by “obvious copy/pasting”… Thanks for your help anyway.

  • Unknown's avatar

    How many posts did you do this to? You have to do it to the one that has the offending HTML in it.

  • Unknown's avatar

    You did all that in vain, because you didn’t have (and you don’t have) any HTML errors. But strangely the CSS of your blog is the CSS of the no-sidebar version, which displays the content as a single centered column. Do you have the Custom Design upgrade?

  • Unknown's avatar

    No I don’t, I just have the basic version,

  • Unknown's avatar

    Very strange… I’ve never seen this before, and I can’t reproduce it in my tests blog, so I’m guessing it’s a bug (but I could be wrong). Try deleting the widgets then adding them again and see if this makes a difference.
    What browser and version are you using?

  • The topic ‘Sidebar’ is closed to new replies.