WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] SideBar Goes Under Only when NOT logged in (5 posts)

  1. cleverclio
    Member
    Posted 8 years ago #

    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

  2. yosemite
    Member
    Posted 8 years ago #

  3. cleverclio
    Member
    Posted 8 years ago #

    Gave up. Just removed the sidebar from the single.php

  4. yosemite
    Member
    Posted 8 years ago #

    You removed the symptom. The disease is still there.

  5. MarcioRamos
    Member
    Posted 7 years ago #

    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!!

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags