Sidebar div sometimes scoots underneath the main content div (3 posts)

  1. ernie.bornheimer
    Posted 5 years ago #

    Not sure if this is the right forum, please let me know if not.

    My site (dnatestindex.com) worked fine six months ago. I have not looked at it since then until today. Now it appears that on some pages (but not all) the right column gets pushed down below the bottom of the main content area. The problem appears in Firefox and IE. Today I upgraded to the latest WP version, that did not help. I think I'd like to change themes at some point, but for now I wonder if there is a fix or workaround.

    So...I'm sure the problem is with the CSS, but I don't know CSS well enough to track it down. I'm hoping someone can take a quick look and tell me "ah, here's your problem!"

    Thank you!


  2. Michael
    Forum Moderator
    Posted 5 years ago #

    in style.css:

    html>body #body-container { overflow: auto; }

    (this brings on the vertical scroll bar, and this makes the space too narrow for the sidebar to fit.)

    change to:

    html>body #body-container { overflow: hidden; }
    unless you remember that there is a good reason for the 'overflow: auto'

  3. ernie.bornheimer
    Posted 5 years ago #

    That solution appears to work.

    Thank you, alchymyth!

Topic Closed

This topic has been closed to new replies.

About this Topic