[Resolved] How do I reduce the padding inside these containers?

Home Forums Support [Resolved] How do I reduce the padding inside these containers?

Home Forums Support How do I reduce the padding inside these containers?

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1487614
    Andy

    Hi there,

    How do I reduce the left, right, top, and bottom padding inside these containers? Overall, to reduce the space around my post titles.

    If possible, without affecting the container padding on my single blog posts.

    View post on imgur.com

    Thank you

    #1487619
    Leo
    Staff
    Customer Support

    Hi there,

    If possible, without affecting the container padding on my single blog posts.

    Since you are removing the padding for the featured images, it would actually be easier to set the padding you want for those blocks in the customizer, then we can target the single post content padding separately like this:

    body.single.separate-containers .inside-article {
        padding: 20px;
    }

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

    #1487635
    Andy

    Great, thanks Leo!

    #1487636
    Leo
    Staff
    Customer Support

    No problem 🙂

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