Categories

Featured templates

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

Carey Burns July 2, 2015
Rating: 5.0/5. From 1 vote.
Please wait...

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

Best Wordpress Website Themes
This entry was posted in WordPress Tutorials and tagged dimension, featured, image, WordPress. 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