Support » Fixing WordPress » Huge Gap after post

  • Resolved aggb

    (@aggb)



    I have a feeling that there is a problem with my layout. Please help me remove this huge gap after my post(s). I’ve tried adding a new post but I continue to have this issue. Thanks in advance

Viewing 9 replies - 1 through 9 (of 9 total)
  • WPyogi

    (@wpyogi)

    Forum Moderator

    Hard to help without a link to your site :).

    URL, please?

    Whoops Sorry!!

    There appears to be an issue with the float in the CSS. Using firebug I added a float:left to the element #narrowcolumn and the problem was fixed.

    When doing this, I would checked that everything is clearing properly towards the bottom in several browsers. You may have to add a clear:both on either #page-with-column or #content

    CarletonU, thanks for your help. I am having trouble locating the php? file that needs to be edited. Please dumb it down for me a little bit more thanks! 🙂

    It’s not in a php file. It’s in your style.css

    You’ll want to edit style.css for this.

    First, look for:

    #content #narrowcolumn{
    width:622px;
    }

    And add float:left;, so it will end up looking like:

    #content #narrowcolumn{
    width:622px;
    float:left;
    }

    Right after that, I would add the following to make sure the floats are being cleared:

    #page-with-column {
    clear:both;
    }

    Sweeet Thanks CarletonU!!!!

    It worked!

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Huge Gap after post’ is closed to new replies.