Site logo

Archived topic

Blog archive - featured image margins

3 replies · Started by Andy on August 27, 2020

Viewing posts 1–4 of 4

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:
https://imgur.com/a/AxpTF4g

Thanks!

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 :)

perfect, thanks Leo!

No problem :)

This archived topic is closed to new replies.