• Resolved kentuckyslone

    (@kentuckyslone)


    There is a strange problem with my wordpress theme which causes too big of a gap between the sidebar and the post content. This only happens on single.php and not on pages, archives, or the home page.

    I have dug and dug through the code trying to figure out what is causing this but so far no luck. I would really appreciate it if someone might be able to help.
    CoinCollectorGuide.com

Viewing 2 replies - 1 through 2 (of 2 total)
  • The difference between those pages is the comments. The comment template only appears on the single.php so I’m guessing it contains the error.
    I think that it probably has an extra </div> in there.

    When I look at the site on my very large monitor, the sidebar is outside of the wrap and floating all the way to the right, so I’m guessing that the div aren’t closed properly.

    Thread Starter kentuckyslone

    (@kentuckyslone)

    Hello Christine and thanks so much for taking a look. I suspected the comments.php right off the bat and removed the link to it from single.php but it didnt make any difference.

    After reading your reply I double checked this before making my reply and discovered that there was an extra </div> in the single.php just before the call to the comments.php

    I had looked at those files over and over but didnt find that until just a bit ago.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Strange Gap Between Post Content and Sidebar’ is closed to new replies.