Support » Fixing WordPress » WordPress Sidebars were at the bottom of the page

  • I have tried to read as many posts as possible in the forum, but still couldn’t figure out what is the problem.

    My sidebars were pushed down at the bottom of the page, not only home page but every page. I did not learn the coding stuff; I just use it. Would you take a look at my website:


Viewing 13 replies - 1 through 13 (of 13 total)
  • Could you clarify which is your main div and sidebar div?

    Is your storycontent div the main div?

    If you could let me know a bit more details about how you are laying out the structure, I could have a better idea to help you.

    I am having the same problem, but only in IE 6. I tried resizing all of my youtube videos and taking out any long links just in case they were pushing everything down.

    My storycontent is my main div. Any thoughts?

    It works just fine in Firefox.


    Sorry, which site are you talking about? or ??


    I am confused by MollyTafoya’s comment too?

    We are talking about:

    I don’t understand what you mean “Could you clarify which is your main div and sidebar div? Is your storycontent div the main div?”

    I installed wordpress through a software I purchased, and uploaded theme and plugins through them too. Maybe it is where the problem was; I didn’t installed manually.

    My Sidebar.php codes as following:

    [Code moderated as per the Forum Rules. Please use the pastebin]

    Any thoughts?



    Forum Moderator

    @mollytafoya: It is considered impolite to interrupt another poster’s thread. Please post a new topic.

    @mollytafoya: sorry, if you could start another post I will take a look at your site…

    @ywps: sorry I was a bit confused 🙂 It seems the page layout is not quite clear. Currently your main content (above the sidebar at the moment) and the left & right sidebars are in the same div called “storycontent”.

    I need to know if you push the sidebars to the right, where would it sit?
    Will it be right beside the title “The Number One Secret to How to Get Over a Break Up.”??

    Depending on the layout you wish to have, you will have to modify the whole layout a bit.

    How to modify the layout?

    I want the sidebar to be be right beside the title “The Number One Secret to How to Get Over a Break Up.”

    I didn’t see where page tab is?

    Now, I put all videos in the ‘videos’ tab. Two pages (posts) are correct now, but the other two are not?

    I see. Your general layout looks:

    <div id="main">
    	<div id="content"></div>
    	<div id="left"></div>
    	<div id="right"></div>

    However on your homepage, the left and right divs are in the content div.
    So check your index.php & sidebar.php and try to put the left and right divs out of the content div.

    yep, definately a <div> is bigger than it should be. you probably have a <div> that holds a couple column <divs> if those 2 column <div>s widths are larger than the main container <div> your sidebar will always show up at the bottom

    Would you please see the sidebar.php and index.php from Pastebin by ygreen(my username) and fix them for me. Thanks so much for help.

    sidebar url:


    From the index.php, the sidebar function cannot be found…

    Can you please check if the home page uses any custom template?

    If you are not sure, log into the backend and go to
    Settings > Reading and check if “A static page (select below)” has been selected.

    If so, check which page is for the Front page.
    For example, if it’s the “Main”,
    go to Pages and find the page named “Main”.
    Check the Template (Homepage as an example)
    and go to Appearance > Editor and check the Homepage in the right sidebar.

    Copy and paste the code.

    Hi geeksfolder,

    I did what you said, and I checked ‘static page’ from ‘latest post’ in reading function. I copied down all codes below:








    Hey ywps,

    It seems your site has been fixed?

Viewing 13 replies - 1 through 13 (of 13 total)
  • The topic ‘WordPress Sidebars were at the bottom of the page’ is closed to new replies.