Home › Forums › Support › How can I make featured images full width? › Reply To: How can I make featured images full width?
June 11, 2018 at 8:37 am
#597427
David
Staff
Customer Support
Hi Paul, you could try disabling the Featured Image for Posts in the Customiser > Layout > Blog and then adding this to the after header hook:
<?php if ( is_single() ) :
if ( has_post_thumbnail() ) { ?>
<div class="featured-image-in-header">
<?php the_post_thumbnail(); ?>
</div>
<?php }
endif; ?>
It won’t be constrained by the grid container so should be full width and will be output as an img.