WordPress.org

Support

Support » Themes and Templates » [Resolved] Remove empty space between post excerpts

[Resolved] Remove empty space between post excerpts

  • flexplorer

    @flexplorer

    Hello,

    I’m trying to remove the empty white spaces in between the post excerpts to give my site a tighter look. I believe it has something to do with padding, but I can’t figure it out. Any help will be much appreciated. Thanks in advance!

    Here’s my site: here.

Viewing 6 replies - 1 through 6 (of 6 total)
  • Siobhan Bamber (siobhyb)

    @siobhyb

    Automattic Happiness Engineer

    Hey. The extra padding between the bottom of each post’s content and its preceding border is being caused by the following CSS:

    #content .post {
    padding-bottom: 3em;
    }

    This seems to have been inputted via the Simple Custom CSS plugin.

    Siobhan Bamber (siobhyb)

    @siobhyb

    Automattic Happiness Engineer

    The empty space between each post’s title and the previous post’s border is being caused by the following CSS in the style.css file:

    .site-content article {
    margin-bottom: 72px;
    margin-bottom: 5.142857143rem;
    }

    To reduce this gap, copy and paste the above into your custom CSS plugin and reduce the values of margin-bottom as you wish.

    flexplorer

    @flexplorer

    Okay thanks, it looks like it’s working. Do you know how to remove the white space from beneath the “continue reading”?

    Siobhan Bamber (siobhyb)

    @siobhyb

    Automattic Happiness Engineer

    Try:

    #content .post {
    padding-bottom: 0;
    }
    flexplorer

    @flexplorer

    That did it! Thanks!

    Siobhan Bamber (siobhyb)

    @siobhyb

    Automattic Happiness Engineer

    You’re welcome. 🙂

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘[Resolved] Remove empty space between post excerpts’ is closed to new replies.