[resolved] Layout different when logged in vs. not logged in (4 posts)

  1. rkeaveney
    Posted 9 years ago #

    I'm having a problem with my custom theme. The right sidebar is being bumped underneath the left column when I am not logged into WordPress. When I am logged in to WordPress, however, the layout is as (I think) I've designed it.

    I've tested in Firefox, IE and Safari, changed the sizes of the columns, but cannot fix the issue so that it looks the same while logged in and while logged out.

    Has anyone encountered this issue? I'd like to hear from you and if you found a solution.

    Any help is appreciated. Thanks!


  2. drmike
    Posted 9 years ago #

    And the link would be?

    99% of the time you've got something to wide in a post but without seeing it, we can't help you.

  3. rkeaveney
    Posted 9 years ago #

    Thanks, drmike - I know I should have posted a link, my bad.

    I did some more digging and figured out what is causing the problem, but I'm not sure how to solve it.

    I've removed <?php comments_template(); ?> from "single.php" and that has fixed the layout error. However I'm not sure how to edit the comments.php file. I'll have to comb through it and compare with the stylesheet to see what is causing the glitch.

    Another note: the sidebar stays put on the category pages which don't call for the comments.php file.

    It's still a very odd thing that it only appears once logged out of WordPress. So it's obviously linked into the comments.php file.

    Please take a look for yourself (it's still in development at this time). Thanks again.


  4. rkeaveney
    Posted 9 years ago #

    Well another solved by... Myself! Seems the comments.php file had a "usercomments" div that was screwing up the page. I deleted the usercomments tag and that fixed it.

Topic Closed

This topic has been closed to new replies.

About this Topic