Support » How-To and Troubleshooting » Sidebar at the bottom of the page

Sidebar at the bottom of the page

Viewing 4 replies - 1 through 4 (of 4 total)
  • Looks like when I click on a post’s title to view only the post, the sidebar looks fine.

    Make sure your sidebar() function is called properly in the page.php file like it is in post.php file.

    The call should be at the bottom of the files. Typically, this is what the bottom of your page.php file should look like:

    <?php get_sidebar(); ?>
    <?php get_footer(); ?>

    The sidebar() function might need to be below a </div> tag (i.e. it might be inside one it shouldn’t be in).

    Hi, thanks for the advise, I have checked the bottom of the page.php, it looks fine…

    I found some errors here (http://validator.w3.org/check?uri=http%3A%2F%2Fgadgetan.com&charset=%28detect+automatically%29&doctype=Inline&ss=1&group=0&user-agent=W3C_Validator%2F1.654)

    But didn’t know how to fix this, didn’t know which page to go to…


    still having the error….

    Sorry, I’m not sure without actually getting into your code and debugging.

    Those errors might be in your page.php file. Check to make sure you have the closing > in your tags W3.org shows.

    When I see a problem like the one you have, my first checks are typically to see if code is placed inside a <div> tag when it should be outside one and then also a css issue.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Sidebar at the bottom of the page’ is closed to new replies.
Skip to toolbar