If

<?php if( has_post_thumbnail() ) {
the_post_thumbnail();
echo «<div style=’position: absolute; top: 10%;padding-top: 20%;width: 100%;/* margin: auto; */text-align: center;background-color: #00000075;height: 100%;’>
<h1 style=’color: white; font-size: 3.5rem;
font-weight: 300;
line-height: 1.14;
letter-spacing: .9px;’> «;
the_title();
echo » </h1>

</div>» ;
}
else { ?>
<div <?php echo mesmerize_header_background_atts(); ?>>
<?php do_action( ‘mesmerize_before_header_background’ ); ?>
<?php mesmerize_print_video_container(); ?>
<?php mesmerize_print_inner_pages_header_content(); ?> <?php mesmerize_print_header_separator(); ?>

</div>
<?php }?>