We're merging with GenerateBlocks! Learn more here.

[Support request] Width Height

Please login to receive premium support.

Support for the free plugin can be found here.

Home Forums Pro Support Width Height

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #28095
    Ian
    Participant

    Is there an update on the width height fix release? Trying to fix a CLS and I think it’s these values causing the issue. Use case is in the sidebar where we have rounded images so chose to display in 300×300 but of course, setting this inside WPShowPost = no width and height set in the final source code. Any tips?

    #28123
    elvin
    Moderator

    Hi there,

    Here’s an update:
    https://wpshowposts.com/wp-show-posts-1-2-0/

    But it’s still in Alpha version. We were supposed to release a beta version last week but Tom had to do emergency fixes due to the recent WordPress 5.7 update for GP Premium so it was delayed a bit.

    If you want to stick with the current official version 1.1.3, you can force the image to have the dimensions you want by CSS:

    Example:

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