In the page header builder there is a possibility to make the header fullscreen.
But instead of creating for each post the page header manually …
Is there a simple way to make in general the featured image fullscreen ?
Right now I added to functions.php
add_action( ‘generate_before_content’, ‘tu_add_featured_image’ );
function tu_add_featured_image() {
if ( is_singular( ‘post’ ) && has_post_thumbnail() ) {
the_post_thumbnail();
}
}
And is it possible to get a fullscreen featured image although the post is done within a contained container and not full-width?
Google shows some solutions with backstretch.js, but would like to ask first whether there are solutions within GP.