Black Friday sale! Get 25% off WPSP Pro! Discount automatically applied at checkout.

[Support request] Equal height posts (rows and columns)

Please login to receive premium support.

Support for the free plugin can be found here.

Home Forums Pro Support Equal height posts (rows and columns)

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #22244
    Paul
    Participant

    Hello,

    I would like to have the same height for every post. So for example; If I have 8 posts, and 2 columns, I want every post to be the same height. Maybe a fixed height, or maybe the height of the tallest image. I do not use the Masonry function. And I use the style ‘Overlay style – 1’.

    Could you help me please? Thank you in advance!

    • This topic was modified 2 weeks, 6 days ago by Paul.
    • This topic was modified 2 weeks, 6 days ago by Paul.
    #22271
    Tom
    Keymaster

    Hi there,

    This should happen by default, but it does depend. Can you link us to a page we can check out?

    #22289
    Paul
    Participant

    Hello,

    Thank you for your reply! Yes, please see the WP Show Post list on this page https://vier.wijnberg.dev/?cmp_bypass=9c63271e0ddc13b2941188ea3cf5925d

    Thank you in advance!

    #22398
    Tom
    Keymaster

    Ah, on multiple lines – got it.

    You could:

    1. Give you list a custom class: my-list
    2. Do something like this:

    .my-list article {
        height: 400px;
    }

    Let me know if you need more info 🙂

    #22453
    Paul
    Participant

    Thank you for your reply! Okay, got it!

    Is there a way to set the height equal to for example the tallest image. So not a fixed height?

    #22476
    Tom
    Keymaster

    That would likely require javascript, unfortunately. CSS isn’t aware of which image is the tallest.

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