Support » Fixing WordPress » Decreasing Space Between Posts on Homepage

Viewing 2 replies - 1 through 2 (of 2 total)
  • Using Firebug to look at the CSS shows that the bottom margin here is creating that space:

    .site-content article {
        -moz-hyphens: auto;
        border-bottom: 4px double #EDEDED;
        margin-bottom: 5.14286rem;
        padding-bottom: 1.71429rem;
        word-wrap: break-word;
    }

    So add this to your child theme style.css file and change the number accordingly:

    .site-content article {
        margin-bottom: 5.14286rem;
    }

    Brilliant, thank you WPyogi! It worked perfectly with:
    margin-bottom: 2.14286rem;

    Cheers!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Decreasing Space Between Posts on Homepage’ is closed to new replies.