WordPress.org

Ready to get started?Download WordPress

Forums

SideBar not working properly (5 posts)

  1. www.onlinecasinoselite.com
    Member
    Posted 9 years ago #

    Hi guys, on my website i have a simple google ad displayed on the side bar. The only problem is that on some pages when the content doesnt go down very far, The google adds end up centered in the middle of the page, how do I make it so that it stays in the sidebar?

    Heres a page on my website that does that:
    http://s90782290.onlinehome.us/?cat=8

  2. mkgago
    Member
    Posted 9 years ago #

    Are you sure that you put it in sidebar.php and not in archive.php?

  3. www.onlinecasinoselite.com
    Member
    Posted 9 years ago #

    yeah i put it in sidebar.php... i cant figure out whats wrong with it.

  4. brianbonner
    Member
    Posted 9 years ago #

    First validate the code, I noticed an extra </li> that did not seem to be open. Then if it still is wrong, make sure it is in the sidbar and not the footer.php and inside the <div>. If all this is true you might want to edit the coded in the script which states <center> to right.

  5. www.onlinecasinoselite.com
    Member
    Posted 9 years ago #

    Ah thank you. I didnt think to put it inside the div tags, i just put it in the sidebar.php. Also just out of curiosity, how did you see the phpcode?

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.