WordPress.org

Ready to get started?Download WordPress

Forums

Sidebar jumps to bottom - post is across entire page (7 posts)

  1. nashproductions
    Member
    Posted 3 years ago #

    I have changed every width of every div associated with the post page.

    My problem is my sidebar is showing below my content, intstead of to the right.

    I have it so it is only showing on my blog page. The post is in a div called centrecol and it only has a width of 665(I think)

    Am I missing a .clearboth somewhere, or can anyone help me with what is going on?

    view page here > http://livingkitchenwellness.com/blog/

  2. nashproductions
    Member
    Posted 3 years ago #

    I am wondering if it is a problem with my rightcol?
    I believe that is where my sidebar is supposed to be located, but in my single.php it reads:

    </div>
    <!--/centercol -->
    <?php get_sidebar(); ?>
    <div class="clr"></div>
    </div>
    <!--/columns -->
    <?php get_footer(); ?>

    I have a rightcol, with a width of 345 - I have tried wrapping the get_sidebar in it and no change.

  3. esmi
    Forum Moderator
    Posted 3 years ago #

    I'd suggest fixing your CSS errors first.

  4. nashproductions
    Member
    Posted 3 years ago #

    Thanks for the reply - I fixed the listed errors. Most were quite silly, from colour changes and what not.

    There are 3 which remain - but I think it's safe to say they are not what are affecting my sidebar.. you wouldnt happen to have any other reco's would you?

  5. esmi
    Forum Moderator
    Posted 3 years ago #

    You don't have a width or a float (or any style for that matter) on the main content div. At the very least, it needs to float:left

  6. nashproductions
    Member
    Posted 3 years ago #

    oh wow, thank you for that.

    I had thought all of my divs were located inside the columns div?

    I created a .content and a #content..

    Now the right col appears to be inside of content, but will not make it outside of it.

    I'm so terribly confused- have been looking at this problem for way too long my mind is just not working properly.. at this point I feel like it is something so basic I just can't even see it.

    Does my post need to be wrapped in content? or in another div?

    thank you so much for your help, again.

  7. nashproductions
    Member
    Posted 3 years ago #

    Okay I've got the blog page to work!

    Now the contact page seems to be out of whack, but I'll just play around with it.

    Thanks again

Topic Closed

This topic has been closed to new replies.

About this Topic