[Resolved] Additional margin on left being added on core “Latest Post” block

Home Forums Support [Resolved] Additional margin on left being added on core “Latest Post” block

Home Forums Support Additional margin on left being added on core “Latest Post” block

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #1477194
    HD

    Hello

    I’ve added a “Latest Post” core block via “Block – Site footer” on “Entire Site”. For some reason there seems to a small margin being added on left.
    Is there a way to remove the same so as to achieve a uniform layout and a way to increase gap between 2 posts?

    Thanks!

    #1477203
    Leo
    Staff
    Customer Support

    Hi there,

    Try this CSS:

    .gb-container ul.wp-block-latest-posts {
        margin-left: 0;
    }

    Adding CSS: https://docs.generatepress.com/article/adding-css/

    #1477211
    HD

    Awesome, it works! Is there a way to increase the gap between two posts?

    #1477215
    Leo
    Staff
    Customer Support

    Try this:

    .gb-container ul.wp-block-latest-posts li {
        padding-bottom: 15px;
    }
    #1477222
    HD

    Thank you so much. Awesome and lighting fast service, I’m amazed!

    #1477226
    Leo
    Staff
    Customer Support

    No problem 🙂

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