Hi,
I use WP’s Featured Image and this is causing the following problem:
I list the last 6 posts in the Home page and the featured images render normally. However in the single posts the following code is included below the post title:
</header><!-- .entry-header -->
<!--post thumbnal options-->
<div class="single-feat clearfix">
<figure class="single-thumb single-thumb-full">
<img width="300" height="169" src="https://www.example.com/blog/wp-content/uploads/2019/11/image-8x6-e1573565541497.jpg" class="attachment-full size-full wp-post-image" alt="" />
</figure>
</div>
<!-- .single-feat-->
Of course the image doesn’t show up because of the ccs class but an ugly blank space is displayed in between the Title and the post content.
This seems to be caused by the following code at: /wp-content/themes/supermag/template-parts/content-single.php line 29:
?>
<div class="single-feat clearfix">
<figure class="single-thumb single-thumb-full">
<?php the_post_thumbnail( $supermag_single_image_layout );?>
</figure>
</div><!-- .single-feat-->
<?php
Please comment.