WordPress.org

Ready to get started?Download WordPress

Forums

Sidebar problem: Right moves to left, left moves to middle (5 posts)

  1. djen
    Member
    Posted 7 years ago #

    Hello.

    I have a pretty basic site set up with few modifications done to the original template. Everthing looks fine, but if you click on the title of a post to read it by itself, the right sidebar moves to the left sidebar position, and the left sidebar moves to the middle, under the comment box. Here's what I mean:

    This is what it's supposed to look like -

    http://www.venture.kdsi.net/?cat=1

    But if you click on any of the post titles, it looks like this:

    http://www.venture.kdsi.net/?p=96

    Not only have the sidebars shifted, but the footer has moved to the right sidebar position.

    I can't for the life of me figure this out.

    Thanks in advance for any help!

  2. Marcel Brinkkemper
    Member
    Posted 7 years ago #

    Please look at the structure in the file that shows single post (single.php)
    your right sidebar is a child of your left sidebar.
    there are a lot of other errors on the pages:
    http://validator.w3.org/check?uri=http%3A%2F%2Fwww.venture.kdsi.net%2F%3Fcat%3D1

  3. djen
    Member
    Posted 7 years ago #

    So this is a problem with the original template?

    I'm assuming that having the right sidebar as a child of the left is a bad thing, right? How difficult is it to separate the two?

    Thanks for pointing out all the errors. I guess if I want to stick with this template, I have my work cut out for me.

  4. Marcel Brinkkemper
    Member
    Posted 7 years ago #

    if you haven't changed the php files, the problem is with the original template.
    If you want to change the right/left structure, just look at the structure of index.php.
    Or you could go for another template. :-(

  5. djen
    Member
    Posted 7 years ago #

    Problem solved! The template was missing a </div> immediately before the <?php get_sidebar(); ?>.

    That's it.

    I guess my assumption that WordPress templates were fully cooked and ready for consumption was incorrect!

Topic Closed

This topic has been closed to new replies.

About this Topic