Support » Fixing WordPress » Sidebar getting place below comments on single posts

  • Hi,

    my site here http://brunopicinini.com.br seems alright when I’m in the homepage, where there is no comment_template.

    But when I’m reading single posts as this one here http://brunopicinini.com.br/desiderata, the sidebar gets dislocated right below the comments still on the right.

    Probably this is a easy thing to fix, but I’m stupid so please help me 🙁

    Here’s the code for the single.php file:
    [Code moderated as per the Forum Rules. Please use the pastebin]

    And here’s my relevant css code:

    [CSS moderated as per the Forum Rules. Please just post a link to your site.]

    Any help greatly appreciated 🙂

    Cheers!

Viewing 2 replies - 1 through 2 (of 2 total)
  • I could not get this to work by adding to style.css because that stylesheet is overridden somewhere. However, if you can add these rules in the proper place, it should work.

    #respond, #comments {
       margin: 0;
       float: left;
       width: 40%;
    }
    Thread Starter brunomp

    (@allanmcbilly)

    Hey mate,

    thanks for your help.

    It didn’t really solve, but the way I’ve found to solve the problem was to actually put the php get_sidebar before the comments template.

    Dunno if that is indeed a good solution, but it has certainly worked 😀

    Any thoughts?

    Cheers!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Sidebar getting place below comments on single posts’ is closed to new replies.