Imbalance 2 column problem

  • Unknown's avatar

    Sorry… I am wrong… There is still problem…..
    Please ignore above.

  • Unknown's avatar

    @philiparthurmoore: I am using IE9 and I get the same problem with IE9 Compatibility Mode. If I visit my blog or any of the following I get only one column (so it´s a general problem):

    I noticed that sometimes it works and sometimes it doesn´t. It certainly is a Javascript/JQuery issue and my guess is it has to do that something hasn´t finished loading by the time the function wrapperWidth() is called. Maybe some asynchronous call should be made synchronous?

    So I´ve been digging into the code and looking for ways to quick-fix it. While doing that, using the IE9 built-in debugger I noticed that after resuming the breaks it did for whatever reason the site would display properly. So this would be my patch for the time being:

    // fluid grid
    function wrapperWidth(timeout) {
    if (timeout != true) { setTimeout("wrapperWidth(true)",100); return; } var wrapper_width = $( 'body' ).width() - 20;
    wrapper_width = Math.floor( wrapper_width / 250 ) * 250 - 40;
    if (wrapper_width < 1000 ) wrapper_width = 1000;
    $( '#wrapper' ).css( 'width', wrapper_width );
    }

  • Unknown's avatar

    Just replace wrapperWidth() with my wrapperWidth(timeout) function and it will work.

  • Unknown's avatar

    @jogarriot: Flagging this for our team today. We’ll take a look at it a.s.a.p. Thanks for bringing this up and really sorry (to you and everyone) for the frustation with this.

  • Unknown's avatar

    @jogarriot: thanks for your suggestions, even thought I use wordpress.com, and i wonder if I have the possibility to apply the correction you pointed out.

    could I ?

    btw, I tested on http://browserling.com/
    where I was surprised to see that 2 times out of 4 the IE9 test displayed my page correctly with 4 columns, BUT when i load an article and get back to home page, it show only one column.
    is it coherent with the timeout issue that you found?
    or it’s one more defect?

    thanks

  • Unknown's avatar

    @cenergetica: I´m a free wordpress user newbie so I´m not sure if we can apply it; I believe we must wait for the theme staff to update it. But if you can apply it feel free to use the code and do let me know how you did :)

    as for your tests, I believe it would be the same issue.

  • @jogarriot,
    Thanks for your suggestion.

    @cenergetica,
    Unfortunately, you are not able to apply the suggested patch by yourself here WP.com. We file a ticket regarding this issue and we are look into soonest.

  • @all,

    We’ve released a update for Imbalance 2 that seems to fix the issue in IE9 and 8. As far as I tested, the issue didn’t happen anymore on my end but please let me know if the issue still persists. Please don’t forget to clear cache and cookies before you test.

    Thanks!

  • Unknown's avatar

    ok. it seems working also on IE9,
    thanks, people around the world.

  • The topic ‘Imbalance 2 column problem’ is closed to new replies.