used the_post_thumbnail function, added image size, removed useless classes,