Categories

Featured templates

WordPress Blogging themes. How to change featured image dimensions

Rating: 5.0/5. From 1 vote.
Please wait...

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.

Premium Wordpress Templates
This entry was posted in WordPress Tutorials and tagged dimensions, featured image, GPL, image, WordPress, WordPress Blogging themes. Bookmark the permalink.

Submit a ticket

If you are still unable to find a sufficient tutorial regarding your issue please use the following link to submit a request to our technical support team. We'll provide you with our help and assistance within next 24 hours: Submit a ticket