WordPress.org

Ready to get started?Download WordPress

Forums

WordPress Sidebars were at the bottom of the page (14 posts)

  1. ywps
    Member
    Posted 2 years ago #

    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:
    http://www.breakingupgettingbacktogether.net

    Thanks,
    ywps

  2. Ryan Yu
    Member
    Posted 2 years ago #

    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.

  3. MollyTafoya
    Member
    Posted 2 years ago #

    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.

    http://www.fairnessfundiowa.org

    Thanks!

  4. Ryan Yu
    Member
    Posted 2 years ago #

    Sorry, which site are you talking about?
    http://www.breakingupgettingbacktogether.net or http://www.fairnessfundiowa.org ??

  5. ywps
    Member
    Posted 2 years ago #

    geeksfolder,

    I am confused by MollyTafoya's comment too?

    We are talking about:http://www.breakingupgettingbacktogether.net

    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?

  6. esmi
    Forum Moderator
    Posted 2 years ago #

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

  7. Ryan Yu
    Member
    Posted 2 years ago #

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

  8. ywps
    Member
    Posted 2 years ago #

    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?

  9. Ryan Yu
    Member
    Posted 2 years ago #

    I see. Your general layout looks:

    <div id="main">
    	<div id="content"></div>
    	<div id="left"></div>
    	<div id="right"></div>
    </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.

  10. avjoseph
    Member
    Posted 2 years ago #

    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

  11. ywps
    Member
    Posted 2 years ago #

    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:
    http://pastebin.com/Cj3f1r0e

    index.php:
    http://pastebin.com/yhGaybhu

  12. Ryan Yu
    Member
    Posted 2 years ago #

    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.

  13. ywps
    Member
    Posted 2 years ago #

    Hi geeksfolder,

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

    comments.php
    http://pastebin.com/d1URAqQ9

    footer.php
    http://pastebin.com/f94ShGGY

    header.php
    http://pastebin.com/e967LRtm

    index.php
    http://pastebin.com/Fi7ccKWq

    sidebar.php
    http://pastebin.com/N4P3GJLw

    themefunction.php
    http://pastebin.com/8Dn2Eaze

    popupcomments.php
    http://pastebin.com/UXEfbLe8

  14. Ryan Yu
    Member
    Posted 2 years ago #

    Hey ywps,

    It seems your site has been fixed?

Topic Closed

This topic has been closed to new replies.

About this Topic