WordPress.org

Ready to get started?Download WordPress

Forums

Sidebar at the bottom of the page (5 posts)

  1. xabrizal
    Member
    Posted 5 years ago #

    can anyone help me with a sidebar problem?

    The sidebar moved to the bottom of the page, can't get it up like before... have tried to change the theme but it is still the same...

    http://www.gadgetan.com

    thanks

  2. John Hoff
    Member
    Posted 5 years ago #

    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).

  3. xabrizal
    Member
    Posted 5 years ago #

    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...

    thanks...

  4. xabrizal
    Member
    Posted 5 years ago #

    still having the error....

  5. John Hoff
    Member
    Posted 5 years ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Topic