Site logo

[Support request] Changing distance between posts on blog Archive

Home Forums Support [Support request] Changing distance between posts on blog Archive

Home Forums Support Changing distance between posts on blog Archive

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #2087092
    Miloš

    Hi guys,

    Is there a way for me to increase distance between blog posts on archive page, without affecting padding on the right or left side and making the block of posts off center?

    I tried adding this css, but it makes block of posts off center and makes the entire .content-area div smaller:

    .generate-columns {
        padding-left: 50px;
    }

    Hope that makes sense 😀

    Thanks!

    #2087130
    David
    Staff
    Customer Support

    Hi there,

    if you just want to change the spacing on the archives then try this CSS:

    @media(min-width: 768px) {
        .generate-columns-container {
            margin-left: -40px;
        }
        .generate-columns-container .generate-columns {
            padding-left: 40px;
        }
    }

    The padding-left value sets the gap, and margin-left has to offset it to keep the same width container position. So if you want a 30px padding gap, then change margin-left to -(neg) 30px

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