We're merging with GenerateBlocks! Learn more here.

[Support request] Make images the same size on cards?

Please login to receive premium support.

Support for the free plugin can be found here.

Home Forums Pro Support Make images the same size on cards?

Tagged: 

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #29404
    Ema
    Participant

    Hello – how can I make the images the same size on cards?

    just a little bit out – see here

    I did this by adjusting height and width in the customiser, but when moving down to mobile I still want the image to fit the container – but looks like this

    Thanks in advance

    Ema

    #29421
    elvin
    Moderator

    Hi there,

    I did this by adjusting height and width in the customiser, but when moving down to mobile I still want the image to fit the container – but looks like this

    Keep it empty, that causes performance issues which is going to be addressed on the next patch.

    Hello – how can I make the images the same size on cards?

    Ideally, you should upload images of the same size/dimension so you don’t have to worry about this.

    But we can also address this using custom CSS. We check the height of the smallest image and set it as the image container’s height.

    Example:

    .wp-show-posts-image {
        height: 230px;
    }
Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.