.feature_photo {
display: block;
width: 100%;
min-height: 240px;
background-position: center center;
color: rgba(#ffffff, 0); // to make text invisible
}
<a class="feature_photo" href="<?php the_permalink() ?>" style="background: url(<?php echo wp_get_attachment_url( get_post_thumbnail_id() ); ?>) no-repeat" href="<?php the_permalink() ?>" rel="bookmark" title="<?php the_title_attribute(); ?>">
<?php the_title(); ?>
</a>