[Resolved] How to change whitespace between titles, featured image, and post summary?

Home Forums Support [Resolved] How to change whitespace between titles, featured image, and post summary?

Home Forums Support How to change whitespace between titles, featured image, and post summary?

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #158239
    Marco

    I am trying to change the white space between these elements marked with an arrow in my home page, which uses the masonry option.

    I have tried changing margin-bottom of h2 and .post-image, but neither did work, and googling didn’t help either.

    Please help!

    #158270
    Tom
    Lead Developer
    Lead Developer

    Hi Marco,

    Any chance you can link me to your site so I can take a look at specifically what’s causing all of that spacing?

    Let me know ๐Ÿ™‚

    #158360
    Marco

    Sure! It’s located at: http://www.nutripesquisa.com.br/

    #158427
    Tom
    Lead Developer
    Lead Developer

    Try this CSS:

    .post-image-above-header .masonry-post .post-image {
        margin-bottom: 10px;
    }
    
    .masonry-post .entry-summary {
        margin-top: 10px;
    }
    #158633
    Marco

    That worked perfectly! Thank you very much, Tom!

    #158636
    Tom
    Lead Developer
    Lead Developer

    You’re very welcome ๐Ÿ™‚

    #161580
    Marco

    Hello Tom!

    With the addition of the equal column height option in GP-Premium, the code that you provided to change whitespace doesn’t work anymore (if you are using the column option, instead of masonry, of course).

    So, what code should I use to change whitespace when I’ve selected the column option?

    Thanks again!

    #161590
    Tom
    Lead Developer
    Lead Developer

    Using the columns, you would do this:

    .post-image-above-header .generate-columns .post-image {
        margin-bottom: 10px;
    }
    
    .generate-columns .entry-summary {
        margin-top: 10px;
    }
Viewing 8 posts - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.