If this tutorial is not what you were looking for, you still have any questions, suggestions or concerns - feel free to let us know. Please help us to serve you better!

Your Name

Your Email

Your Message (required)

captcha

Featured templates

WordPress Blogging themes. How to change featured image dimensions

This tutorial shows you how to change featured images dimensions on the single post in WordPress Blogging templates.

Each single post has a featured image:

WordPress_Blogging_themes-How_to_change_featured_image_dimensions-1

We will learn how to change its dimensions.

  1. Log into WordPress Admin Panel and go to the Appearance -> Editor section. Open style.css file under the activated theme – in this case, it’s Bettaso theme.

    WordPress_Blogging_themes-How_to_change_featured_image_dimensions-2

    Add the following css rule to the bottom of this style.css file:

    			.single .post-thumbnail__img {
    			width: auto !important;
    			}
    		

    and click on “Update File“.

    WordPress_Blogging_themes-How_to_change_featured_image_dimensions-3

  2. Connect to your FTP or use hosting Cpanel File Manager. Follow this path: wp-content/themes/themename/config to locate thumbnails.php file.

    WordPress_Blogging_themes-How_to_change_featured_image_dimensions-4

    Open it for editing. You will see the line of code for single post thumbnails. You just need to set the new dimensions here and save the file.

    WordPress_Blogging_themes-How_to_change_featured_image_dimensions-5

  3. Go back to the WordPress Admin Panel and navigate to Posts -> All Posts. Open the post to re-upload the new featured image with new dimensions. Then “Update” the post.

    WordPress_Blogging_themes-How_to_change_featured_image_dimensions-6

  4. Refresh the frontend of this single post to check the result.

    WordPress_Blogging_themes-How_to_change_featured_image_dimensions-7

Feel free to check the detailed video tutorial below:

WordPress Blogging themes. How to change featured image dimensions

If you’re searching for more professional solutions to build a website, have a look at the Best WordPress Themes 2017.