[Resolved] Blog archive – featured image margins

Home Forums Support [Resolved] Blog archive – featured image margins

Home Forums Support Blog archive – featured image margins

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

    Hi guys,

    This question is with respect to Blog Archives:

    How can I reduce the top and bottom margins of my featured images? (Specifically, at the Tablet and Mobile breakpoints)

    Example:

    View post on imgur.com

    Thanks!

    #1420882
    Leo
    Staff
    Customer Support

    Hi there,

    Try this CSS:

    @media (max-width: 768px) {
        .post-image-below-header.post-image-aligned-left .inside-article .post-image {
            margin-top: 0.5em;
            margin-bottom: 0.5em;
        }
        .entry-summary {
            margin-top: 0;
        }
    }

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

    Let me know if this helps ๐Ÿ™‚

    #1420899
    Andy

    perfect, thanks Leo!

    #1420904
    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.