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.