• Resolved ronald_123

    (@ronald_123)


    This is happening not just in pages/posts but also in homepage.

    In other words, if the content beside the sidebar is shorter than it, the sidebar tends to get central+bottom of the content.

    I’ve tried several fixes (as suggested in numerous threads in this forum) but I’m unable to diagnose the problem, let alone fix it. Not even the W3C Validator could provide me any aid.

    An example of a short page is here (see how the sidebar is displaced):

    http://www.beyondtheninetyminutes.com/register/

    Any help would be appreciated.

Viewing 6 replies - 1 through 6 (of 6 total)
  • Edit your site’s style.css file and do the following:

    Find the styling for #aside and add a clear: right; in there

    Find the styling for #sidebar and change float: left; to float: right; and add in a clear: right; in there

    Does that look right?

    Thread Starter ronald_123

    (@ronald_123)

    Hi JarretC,

    Thanks for replying.

    Unfortunately, it did not fix the problem. As you can see here, it’s still there: http://www.beyondtheninetyminutes.com/register/

    Anything else you believe could fix it?

    It’s showing correctly for me, did you clear the cache in your browser? Or any caching you might have on the site.

    Thread Starter ronald_123

    (@ronald_123)

    Okay, it appears to have been fixed partially.

    I cleared the browser cache and a portion of the right sidebar (the ‘Popular-Comments-Latest’ widget) is back in its place on the right side. Thanks for that!

    However, the Google Ad below it is still central — it’s still below the page content.

    Is that happening for you as well, or is it just me?

    Try the following:

    #column-wrap .section {
        float: right;
        clear: right;
    }
    Thread Starter ronald_123

    (@ronald_123)

    Completely resolved. Many thanks, mate!

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Right sidebar gets central when post/page is too short or if the bar is too long’ is closed to new replies.