Typominima, free typography based minimal WordPress theme

Simple Balance – Right Sidebar Alignment Bug Fix

It has been brought to my attention that the Simple Balance theme has a display bug which causes the right sidebar to drop below the content on single post pages.

After looking into this problem I’ve seen that this only happens when users are required to be logged-in in order to post a comment.

The bug is fairly easy to fix and a fix has already been included in the Simple Balance 2.2 download package.

In order to apply the fix, you only need to download the package and replace the “comments.php” file in your theme’s folder with the one inside the package.

Manual bug fix

Alternatively, you can apply the fix manually by opening the “comments.php” file in a text editor and scroll down to the end of the file where you should see this code snippet:

</form>
</div>

<?php endif; // If registration required and not logged in ?>

<?php endif; // if you delete this the sky will fall on your head ?>
</div>

All you need to do is to replace the above lines of code with the ones below:

</form>

<?php endif; // If registration required and not logged in ?>
</div>

<?php endif; // if you delete this the sky will fall on your head ?>
</div>

The closing tag of the comments section should have been placed outside the conditional loop that checks if the user is logged in. Since it was not, the sidebar was considered to be part of the comments area and displayed below.

Sorry for the inconvenience if you have had trouble because of this bug. Now it should be alright.

More Blogsessive Content

ThemeForest

This article has 9 comments

  • Dear Friend,
    Please take a look at my site on both IE as well as Mozilla Firefox. If you click on the image in the (only) page that I have displayed, it opens a single page post. Kindly check the behavior of the post on IE as well as Mozilla Firefox. Whereas the display is perfect on IE, in Mozilla, I can see two problems. (a) the right sidebar goes below the content (b) there is a small tag –> appearing below the left sidebar. Can you please help us with a fix? I really liked your template, as it is very clean and pleasing to the user. Thanks again.

  • N.Ramakrishnan, I’ve check your website in FF, IE6 and IE7 and in all 3 browsers it looks just fine, both homepage and “about” page. No sidebar falling below, no arrow tag on left side. Maybe you’ve fixed it meanwhile?

  • Yes Alex, thank you for taking time to look at the site. Regards

  • Hi Alex, take a look at this site and you can see that the sidebar has fallen. Do you think your suggestion would also work in this type of theme?

  • If you’re talking about the site you used in the comment form, everything seems fine to me, no “fallen sidebar”.

  • hi… i have the 2.2 version yet the bug still seems to be there… I’ve looked over the comments code you mentioned above and mine are identical to the latter… please look at my blog. perhaps there is another bug??

  • hi… correction.. i have version 2.2.1 and the problem seems to reside only in the homepage… other pages seem to be fine… please let me know what is wrong… thanks!!

  • hi… has the problem been found? i think it’s just a quick fix, but what should i do? the front page has the right column under my posts… the instructions given in this article doesn’t help cuz the code is already like that as instructed… help please..

  • …worked like a charm!

Add a comment

Submit comment!

Let's play nice! Comments are all about conversation. How am I supposed to address you if you use keywords as your name?
Not to mention that you risk having your comment spammed or deleted.
I would really appreciate it if you use your name or pseudonym.

1 blog post linking to this article

  1. Need help with Simple Balance? Ask away! - Blogsessive