Categories

Featured templates

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

Daniel Morales April 15, 2016
Rating: 5.0/5. From 3 votes.
Please wait...

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
Best Wordpress Templates
This entry was posted in Monstroid Tutorials, WordPress Tutorials and tagged CherryFramework4, dimension, featured, image, post, single. 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