• Hi everyone! Having a little bit of trouble. On my new blog, each blog post has a different thumbnail. My first thumbnail (500 x 800 pixels) worked perfectly. The next two thumbnails, even though I cropped them to be 500 x 800 pixels, are very small (the width is normal, but the height is very short).

    I tried everything I could. I went to setting/media and changed thumbnail size to 500 x 800. I tried to edit my theme as shown below:

    set_post_thumbnail_size( 600, 400, true
    false );
    add_image_size( ‘ac-post-thumbnail’, 600, 400 true false );

    I even tried adding another line of code: add_image_size( string $name, int $width, int $height, bool|array $crop = false ).

    Can anyone help me?

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Hi,

    You can use CSS class & try the following code for image dimensional adjustments

    .post-thumbnail img {
    width: 100%;
    height: 300px;
    }

Viewing 1 replies (of 1 total)
  • The topic ‘Blog image thumbnail is autocropping’ is closed to new replies.