How risize a thumbnail?

You should define add_image_size with fourth parameter to allow WordPress to crop your image to exact size.

add_image_size ( 'single_post', 500, 200, true);

Whether to crop images to specified height and width or resize Difference between soft and hard crop

  1. false – Soft proportional crop mode.
  2. true – Hard crop mode.
  3. array – Specify positioning of the crop area (x_crop_position, y_crop_position).

Default: false