How to change the blog-portfolio get_the_post_thumbnail width and height in RELATED POSTS FOR SINGLE

Hi

Currently i had a featured image for a post with image dimension 1200 x 630. For example: https://static.imsph.sg/uploads/sites/14/2020/10/Featured-image.jpg

When i check on the article detail page for the "RELATED POSTS" section. It is showing below html code without scrset:
<img width="960" height="630" src="https://static.imsph.sg/uploads/sites/14/2020/10/Featured-image-960x630.jpg" class="scale-with-grid wp-post-image" alt="">

Question:
a) How can i change the width and height? For example change to 1200 x 630
b) Is there a way to change from Betheme option?
c) Example image do not have this problem:
i uploaded another image with image dimension 1280 x 1000. For example: https://static.imsph.sg/uploads/sites/14/2020/10/copy2-single-post-featured-1.png. I do not have this problem. It is showing below html code with scrset:

Comments

  • Hello,
    There are many types of featured images in the theme, here are instructions for changing them:
    1. To change the size of the images used in portfolio/blog, please navigate to theme options>blog,portfolio&shop>featured image.
    2. To change the size of the default WordPress gallery images, please go to settings>media.

    Notice!
    Remember to use thumbnail regeneration after you make your changes. Otherwise, the images will not change their size.

    thanks
Sign In or Register to comment.