I have developing a wordpress theme. But I have problem in post thumbnail to set featured image. When I set a featured image with 300x210 px then it become 221x155. In functions.php i added this code. Is it an issue with css file? I need this urgent basis.
//add support for featured images
add_theme_support('post-thumbnails');
set_post_thumbnail_size(300, 210);