Featured Image renders a blank space in posts - Acme Themes

Best Premium and Free WordPress Themes Forums SuperMag Featured Image renders a blank space in posts

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #72439
    lesm
    Participant

    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.

    #72543
    acmethemes
    Keymaster

    Dear Lesm,
    If you can provide us your site URL, we will observe and can provide you with possible solutions.

    Best Regards!

    #72544
    lesm
    Participant

    HI,
    Thanks. Please check at any post not the home page. Look at the blank space between “admin” and the AdSense ad on top.
    Site

    #72613
    lesm
    Participant

    I guess a solution is to add css filtering as:

    .single-feat.clearfix {display: none;}

    Waiting for your comment.

    #72741
    lesm
    Participant

    Well, 1 week+ waiting for your comment is too much, so I fixed it with my css solution.
    If you are still interested let me know to undo the fix so you can to take a look.

Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.