WordPress.org

Ready to get started?Download WordPress

Forums

Help! (5 posts)

  1. leeatrawhide
    Member
    Posted 6 years ago #

    I've made a theme (never used wordpress before this week), and it's more or less done. The only problem I'm having is that there are a few discrepancies when logged in/out.

    All pages display fine except 2:

    When logged in, the single post page without comments has no border showing for the wrapper element. Firebug shows that the wrapper is closed early before the content that should be nested within it. However, when logged out this page is absolutely fine.

    When logged out, the single post page with comments is messed up, the sidebar drops beneath the comments and the footer is aligned to the left instead of centrally. Firebug shows this as the wrapper again ending early and this time the sidebar and footer are nested in the left content area. However, when logged in, this problem isn't present and all is fine.

    URL is http://www.rawhideaccessories.com/wordpress

    Could someone give me some help on this, i'm not sure what to change in the single.php and comments.php files, as everything looks ok to me before the PHP generated stuff.

    Thanks, Lee

    P.S. I've tried validating to narrow it down but it only seems to be throwing back errors for the php generated stuff.

  2. Hafiz Rahman
    Member
    Posted 6 years ago #

    Hi,

    If the problem occurs on log in/log out scenario, this might have to do with things that only appear when the admin is logged on, e.g.: the "Edit" link (or the) equivalent on the metadata area of each post.

    Just my assumption, though.

  3. leeatrawhide
    Member
    Posted 6 years ago #

    It seems to be the way things are nested on log in/out. I'll just save the php files i've got then muddle my way through them, might have to close some divs early according to the php statements.

    Fingers crossed...

  4. leeatrawhide
    Member
    Posted 6 years ago #

    Ok, nothing I've tried is working, can anyone help at all?

  5. leeatrawhide
    Member
    Posted 6 years ago #

    Someone must be able to help? The page is validating, so that makes it slightly worse cos I don't have a good enough knowledge of .php to find out why this is happening. I'm guessing single.php and comments.php are the files i should be looking at?

Topic Closed

This topic has been closed to new replies.

About this Topic