• Resolved lubynoel24

    (@goodnews24)


    Hi,

    On the Posts page, posts are spaced out too much. I have the Latest posts block on my Home page which shows much less spacing between posts. I wonder if this discrepancy is normal and if there is a way to control the spacing for Posts page.

    Also, I wanted to check whether the settings done to Posts Page section of the Twentig would affect any other places where Posts list appears across the site, through Latest posts block. I assume they are unrelated?

    Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Twentig

    (@twentig)

    Hi,

    The spacing is defined by the Twenty Twenty-One theme. To change the spacing for the Posts page, you can add the following CSS code in the Customizer > Additional CSS panel (change the 40px value as you like):

    .tw-blog-card .hentry {
        margin: 40px auto;
    }
     
    .tw-blog-card .hentry:first-child {
        margin-top: 0;
    }
     
    .tw-blog-card .hentry:last-child {
        margin-bottom: 0;
    }

    Yes, the settings inside the Customizer Posts Page section only affect the blog page, not the Latest Posts block.

    Hope that helps,
    Tom

    Thread Starter lubynoel24

    (@goodnews24)

    Brilliant. Thanks for the snippet.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Huge space between posts and other related questions’ is closed to new replies.