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

CherryFramework 4. How to change featured image dimensions for single posts pages

Our Support team is ready to present a new tutorial that shows how to change featured images dimensions for single posts pages in CherryFramework4 based templates.

CherryFramework 4. How to change featured image dimensions for single posts pages

  1. You can check current image dimensions using the developer tools:

    CherryFramework4_How_to_change _featured_image_dimensions_for_single_posts_pages_1

  2. Navigate to /wp-content/themes/themeXXX/init/config/ directory on your server, where XXX is the number of your theme.

    Open the file ‘thumbnails.php’ for editing, you will see the following lines with the images dimensions:

    // Registers new image sizes.
    add_image_size( 'cherry-thumb-s', 170, 170, true );
    add_image_size( 'cherry-thumb-l', 1170, 780, true );
    add_image_size( 'cherry-thumb-xl', 1920, 1080, true );
    add_image_size( 'cherry-thumb-270x290', 270, 290, true );
    add_image_size( 'cherry-thumb-570x396', 570, 396, true );
    add_image_size( 'cherry-thumb-630x396', 630, 396, true );
    
  3. Change the needed dimensions, save changes to file when you are done:

    CherryFramework4_How_to_change _featured_image_dimensions_for_single_posts_pages_2

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

    CherryFramework4_How_to_change _featured_image_dimensions_for_single_posts_pages_3

We’ve successfully changed featured images dimensions for single posts pages in CherryFramework4 based template.

Feel free to check the detailed video tutorial below:

CherryFramework 4. How to change featured image dimensions for single posts pages