[Resolved] Decreasing the vertical space between posts in column on mobile

Home Forums Support Decreasing the vertical space between posts in column on mobile

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #977866
    Pete

    I’m having difficulty reducing the space between each post. See link.

    Thanks.

    #977991
    Pete

    This seems to work, but not sure if it’s the best way to go?

    .home.blog .generate-columns.tablet-grid-50.mobile-grid-100.grid-parent.grid-33 .inside-article {max-height:90px;}

    #978002
    David
    Staff
    Customer Support

    Hi there,

    setting a max-height may cause issues if the content needs to expand above that. Instead lets remove/reduce some of the margins and padding in the article:

    .generate-columns-activated.one-container  .inside-article{
        padding-bottom: 5px;
    }
    .generate-columns-activated .entry-summary {
        margin-top: 0;
    }
    #978553
    Pete

    Great that’s a much better fix. Thanks.

    #978560
    David
    Staff
    Customer Support
Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.