Hello Felix,
You can add this custom PHP code to your child theme’s functions.php file to override the post-thumbnail size:
// Reset Post Thumbnail size
// =============================================================================
function custom_x_legacy_setup_thumbnails() {
// Thumbnails disabled custom stacks
if (x_is_custom_stack()) {
return;
}
add_theme_support( 'post-thumbnails' );
set_post_thumbnail_size( 200, 200 );
$width = x_post_thumbnail_width();
$width_full = x_post_thumbnail_width_full();
$height_cropped = intval( round( x_post_thumbnail_width() * 0.558823529 ) );
$height_cropped_full = intval( round( x_post_thumbnail_width_full() * 0.558823529 ) );
add_image_size( 'entry', $width, 9999, false );
add_image_size( 'entry-cropped', $width, $height_cropped, true );
add_image_size( 'entry-fullwidth', $width_full, 9999, false );
add_image_size( 'entry-cropped-fullwidth', $width_full, $height_cropped_full, true );
}
remove_action( 'after_setup_theme', 'x_legacy_setup_thumbnails', 1000 );
add_action( 'after_setup_theme', 'custom_x_legacy_setup_thumbnails', 1000 );
The code above serves as an example code. Feel free to modify it when needed. Please note that custom coding is beyond the scope of our support. You must maintain any custom coding to ensure it will still work after any updates or does not create any issues or incompatibility in the future.
Best Regards.