[contact-form-7 id="24078" title="Feedback EN"]

Featured templates

WordPress Cherry 3.x. How to change featured images dimensions

Our Support team is ready to present a new tutorial that shows how to change featured images dimensions in WordPress templates.

WordPress. How to change featured images dimensions

  1. You can locate the current dimensions using the developer tools:

    wordpress_change_featured_images_dimensions_1

  2. Please navigate to wp-content/themes/CherryFramework/includes/post-formats folder on the server.

  3. The first thing that should be done, is to copy post-thumb.php from CherryFramework to themeXXXXX folder on the server, saving the files structure.

  4. Create new folders within the themeXXXXX directory if needed:

    wordpress_change_featured_images_dimensions_2

  5. Open the file for editing, you will see the following lines with the images dimensions:

    		 $img_width    = $blog_layout_type != 'masonry' ? 900 : 450 ; //set width large img
    		 $img_height   = $blog_layout_type != 'masonry' ? 444 : 222 ; //set height large img
    		 
  6. Change the dimensions, save changes to file when you are done:

    wordpress_change_featured_images_dimensions_3

  7. Remove and re-upload the featured images, they will have the new dimensions:

    wordpress_change_featured_images_dimensions_4

Feel free to check the detailed video tutorial below:

WordPress. How to change featured images dimensions