[Resolved] Reduce margin between excerpt and title in home blog

Home Forums Support [Resolved] Reduce margin between excerpt and title in home blog

Home Forums Support Reduce margin between excerpt and title in home blog

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #203869
    Daniele

    Hi guys,
    I’m trying to reduce the space between title and excerpt in the blog post masonry.

    But if I change

    .entry-content, .entry-summary, .page-content {
    margin: 0.2em 0 0;
    }

    it reduces the space between posts too.

    how can I solve it?

    thanks,
    Daniele

    #203904
    Tom
    Lead Developer
    Lead Developer

    Try this:

    .masonry-post .entry-content, 
    .masonry-post .entry-summary, 
    .masonry-post .page-content {
        margin: 0.2em 0 0;
    }
    #203924
    Daniele

    Hi Tom,
    thanks it works. But why it doesn’t make disappear the space at the bottom?

    See this:
    http://www.80s.it/pic/screen.jpg

    Thanks again!

    #203980
    Tom
    Lead Developer
    Lead Developer

    Give this a try:

    .masonry-post .entry-summary p:last-child {
        margin: 0;
    }
    #204122
    Daniele

    Thaks Tom it works! ๐Ÿ˜€

    #204162
    Tom
    Lead Developer
    Lead Developer

    You’re welcome ๐Ÿ™‚

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.