WordPress.org

Support

Support » How-To and Troubleshooting » [Resolved] SideBar Goes Under Only when NOT logged in

[Resolved] SideBar Goes Under Only when NOT logged in

  • Hi, I have a varient of the sidebar going under the post in single.php problem.

    It looks beautiful and perfect on the main page, or on the single post page when logged in with a Cleverclio account, but if you’re not or are logged in with OpenID the side bar goes down below and the footer gets chopped off on the right where the sidebar would normally be.

    I never noticed before cause I was always logged in but I tried reinstalling my theme Waterlily 2.0 from scratch and uninstalling the OpenID plugins but the same problem occurs.

    I do not see how it could be a width issue as I have made everything in my side bar smaller than the container size and the posts look identical (word wrap wise) on the main page (where the side bar is fine) and the single post page (Where it is not).

    Any ideas on what I might have done to anger the internet gods?

    Thanks in advance,
    Clio

Viewing 4 replies - 1 through 4 (of 4 total)
  • Gave up. Just removed the sidebar from the single.php

    You removed the symptom. The disease is still there.

    Hi!

    I have noticed that error in comments.php:

    If the post doesn´t allow comments, the single page of the post will put the sidebar over the main!
    I could notice (after so much hard work) that there is a if-endif and div/div problem. I think I managed the problem and here is my solution:

    In comments.php, where you see in the end this code:

    .
    .
    .
    </form>
    </div><!-- close commentform-container -->
    </div><!-- close COMMENTS-POST -->
    <?php endif; // If registration required and not logged in ?>
    <?php endif; // if you delete this the sky will fall on your head ?>

    some things should change place, so the right should be:

    .
    .
    .
    </form>
    <?php endif; // If registration required and not logged in ?>
    </div><!-- close commentform-container -->
    <?php endif; // if you delete this the sky will fall on your head ?>
    </div><!-- close COMMENTS-POST -->

    I hope everything goes right, now!!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘[Resolved] SideBar Goes Under Only when NOT logged in’ is closed to new replies.
Skip to toolbar