Site logo

[Resolved] reducing space between posts

Home Forums Support [Resolved] reducing space between posts

Home Forums Support reducing space between posts

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #1543496
    Sima

    how to reduce the space between two blog posts on the blog page?

    #1543499
    Leo
    Staff
    Customer Support

    Hi there,

    Give this option a shot first:
    https://docs.generatepress.com/article/separating-space/

    #1543509
    Sima

    thanks Leo

    #1543551
    Sima

    Leo, this changed the spacing between every container on every page! I only want to change the spacing between blog posts. is there an easier way to do this?

    #1543720
    David
    Staff
    Customer Support

    Hi there,

    it would require some CSS, can you share a link to your site so i can see your layout?

    #1545297
    Sima

    I sent you the info

    #1545310
    Elvin
    Staff
    Customer Support

    Hi,

    Try adding this CSS:

    body.one-container.blog article.post:not(:last-child), body.one-container.archive article.post:not(:last-child) {
        padding-bottom: 0px;
    }

    Here’s how to add CSS: https://docs.generatepress.com/article/adding-css/

    #1545318
    Sima

    worked. thanks

    #1545322
    Elvin
    Staff
    Customer Support

    worked. thanks

    Glad it works for you. No problem. 😀

Viewing 9 posts - 1 through 9 (of 9 total)
  • You must be logged in to reply to this topic.