Forums

Please help. Can't figure this out!! (3 posts)

  1. bbelack
    Member
    Posted 3 years ago #

    When you go to benbelack.com/blog everything appears properly.

    HOWEVER, when you link to the post directly,like here: http://benbelack.com/blog/2009/03/31/cold-reading-insight/
    the sidebar jumps all the way to the bottom.

    I can't figure this out at all.

    Can someone please lend a hand to this semi-intelligent newb??

  2. stvwlf
    Member
    Posted 3 years ago #

    Hi

    The page with the problem is the single.php template file.

    On your other pages, the Contents Div ends and is closed, and then the sidebar Div begins.

    On the single.php template, the browser is seeing the sidebars as being contained with the Contents Div. Thus it is displaying... within the Contents Div, in the left column.

    usually this is due to misplaced or missing closing Div tags. In other words, a closing Div is below the call to include the sidebar when it needs to be before that call, not after it.

    The page validator shows 14 errors on your single page
    http://validator.w3.org/check?uri=http://benbelack.com/blog/2009/03/31/cold-reading-insight/

    That is a really small # compared to many sites who ask questions here. Some of those errors are about missing and misplaced closing tags. If you can clean them up you will probably get your sidebar working as its supposed to, in the process.

  3. bbelack
    Member
    Posted 3 years ago #

    Added one div closing tag, and it's all fixed.

    Thanks!!

Topic Closed

This topic has been closed to new replies.

About this Topic