Support » Theme: Modality » Remove featured image from Home

  • Resolved shooz

    (@shooz)


    Hi,

    First of all thanks for a great theme!

    One thing i cannot figure out though, is how to remove the featured image from the homepage ?
    The setting in the customizer works perfectly to remove the featured image from within a single post, but does not remove the featured image from the main homepage.

    I tried custom css, and several other methods aswell as the “Hide Featured Image” plugin, but no luck Modality still keeps the featured image showing in posts on home.

    Please help me remove this.

    Cheers
    Shooz

Viewing 3 replies - 1 through 3 (of 3 total)
  • Okay i found a solution, but it’s probably not the best way to do it.

    in /wp-content/themes/modality/
    open post-formats.php

    Search:
    <div class=”thumb-wrapper”>

    Delete <?php the_post_thumbnail(‘full’); ?>

    Featured images are now gone from the front/home page, but still show up everywhere else where it’s supposed to.

    Unfortunately, but logically the above method also removed featured images from widgets on the front/homepage.

    Could someone please refer me to the correct solution of removing featured images from appearing on top on posts on the front/home page only?

    Solving my own post again 🙂

    Add the following to custom css

    .home.blog .wp-post-image { display: none !important; }

    Featured image is now gone from the home/blog page, but shows everywhere else.

    • This reply was modified 2 years, 5 months ago by shooz.
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Remove featured image from Home’ is closed to new replies.