Site logo

Archived topic

Adjust Spacing Between Post Image and Title Under Mobile Layouts

3 replies · Started by Robert on June 7, 2018

Viewing posts 1–4 of 4

Under Customizing ▸ Layout ▸ Container, I've set mobile content padding to 25. When I view post excerpts under the two mobile layouts, the spacing between the post image and title is about twice this. How do I get this to match the spacing after the Read More button?

Hi there,

Try this CSS:

@media (max-width: 768px) {
    .post-image-above-header .inside-article .post-image {
        margin-bottom: 10px;
    }
    .entry-summary {
        margin-top: 10px;
    }
}

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

Let me know :)

Perfect. Thank you.

No problem!

This archived topic is closed to new replies.