• 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 –

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

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

    https://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!

Viewing 4 replies - 1 through 4 (of 4 total)
  • 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:
    https://validator.w3.org/check?uri=http%3A%2F%2Fwww.venture.kdsi.net%2F%3Fcat%3D1

    Thread Starter djen

    (@djen)

    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.

    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. ??

    Thread Starter djen

    (@djen)

    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!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Sidebar problem: Right moves to left, left moves to middle’ is closed to new replies.