• Resolved belgrael

    (@belgrael)


    I’ve read a few of the posts about fallen sidebars but still can’t work out why mine is not staying put on the right hand side on the main index page.
    The call to the sidebar is in the footer template and it works fine on all the archive and single pages but on the front page it falls to the bottom.
    I have checked the html of all the posts on the front page and tidied them up in case there was anything weird in there causing it but they all seem to be ok.
    Can anyone give me an idea of what might be causing it?

    https://8statekate.aucado.us/wordpress/

    Thanks kindly.

Viewing 4 replies - 1 through 4 (of 4 total)
  • your missing a </div> somewhere in your theme… I don’t know the structure of your theme so I can’t speculate where..

    your about page doesn’t have this issue because it likely ends with a </div> it would be my guess…. which would narrow it down to whatever page is called right after index.php… footer? sidebar? dunno, cause I don’t know the structure…

    your sidebar is INSIDE your main content division area though.

    It looks like if the problem is only down to your main frontpage, then it is a problem with the file named index.php in your template folder.

    Hey i’ve taken a quick look and it seems in a few posts, youve opened <div align=”center”> and not closed it off, if i’m right it looks as though you’ve done it in the last 3 posts on the main page, kenna, chase and tas this might be a cause.

    Thread Starter belgrael

    (@belgrael)

    Yay! I finally got it.

    After much mucking about with the posts to try and make sure there were enough </div> tags all to no avail, I did the following.

    At the very bottom of the index.php file was this:

    </div></div>
    <?php get_footer(); ?>

    I added another </div> tag

    </div></div></div>
    <?php get_footer(); ?>

    And Voila, it works!

    Thanks so much for all your help. Now I just have to work out why a couple of my pages are doing the same thing but you’ve given me enough to work with.

    Thanks again!!

    Di

    I have tried using different themes, but on all of them the main page has the side bar listed below the content instead of on the right. It looks fine on the article page, but not the main page or the categories page.

    blog.twistervideos.com

    I have gone through the css and changed the column widths but that didn’t help. I also checked the index.php and didn’t find any extra <div> or anything. I don’t know what is wrong

    Also, it worked just fine a couple of day ago. This just came up out of nowhere.

    Any help is greatly appreciated!

    Thanks

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Sidebar on Index page dropping to bottom’ is closed to new replies.