Skip to content
Tech > Tutos > Web site

How to modify the Neve theme images / thumbs ratio or size

  • NFT 


How to modify the ratio and size of your Neve theme images / thumbs in order to have 16/9 or any other ratio.

Modify the Neve theme images / thumbs ratio

Hack in your wp functions.php

Add the following function in the functions.php file of your child theme:

function change_blog_image_size() {
remove_image_size( 'neve-blog' );
add_image_size( 'neve-blog', 900, 400, true );
}
add_action( 'after_setup_theme', 'change_blog_image_size', 100 );


Leave a Reply

Your email address will not be published. Required fields are marked *

Exit mobile version