Thumbnails 'latest news' are squeezed

Welcome Forums BigBangWP Thumbnails 'latest news' are squeezed

This topic contains 2 replies, has 2 voices, and was last updated by Avatar rogerklaassen 5 months, 1 week ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #7022
    Avatar
    rogerklaassen
    Participant

    Since WordPress 5.0, some of the more rectangular featured images (from blog potsts) are squeezed to fit in ‘latest post’ thumbnails on my homepage: http://rogerklaassen.com/wordpress/
    Before, the featured images were cropped to fit – which I prefer.

    I use the Gutenberg editor since WP 5.0 release. Has this got to do with it? Is there extra CSS code to prevent the squeezing?


      Quote
    #7025
    Avatar
    Brankic1979
    Keymaster

    To be honest, I’m not sure why it happens.

    I think Gutenberg is not the reason.

    Try this Extra CSS

    .circle .item-container img {
        object-fit: cover;
    }

      Quote
    #7026
    Avatar
    rogerklaassen
    Participant

    Thank you, it works!


      Quote
Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.