[Resolved] Adjust Spacing Between Post Image and Title Under Mobile Layouts

Home Forums Support [Resolved] Adjust Spacing Between Post Image and Title Under Mobile Layouts

Home Forums Support Adjust Spacing Between Post Image and Title Under Mobile Layouts

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #594389
    Robert

    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?

    #594413
    Leo
    Staff
    Customer Support

    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 🙂

    #594561
    Robert

    Perfect. Thank you.

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