• Resolved mfeddo

    (@mfeddo)


    Hi there! Is there a way to remove the featured image from a post? Is it possible to apply this to only selected posts or would it have to be for every post? Thank you for your time!

    • This topic was modified 5 years, 6 months ago by mfeddo.
Viewing 6 replies - 1 through 6 (of 6 total)
  • Hi @mfeddo, great question!

    The built in feature for this applies to all posts:
    https://help.lyrathemes.com/article/238-post-options

    If you don’t mind using a little CSS, you can hide the featured image on specific pages like this (where “100” is the ID of the post you want to hide the featured image on):
    #post-100 .entry-thumb img { display: none; }

    So for multiple posts, it would look like this:

    #post-100 .entry-thumb img,
    #post-101 .entry-thumb img,
    #post-102 .entry-thumb img
    { display: none; }

    If you have any trouble using it or need anything else, just let us know!

    Thread Starter mfeddo

    (@mfeddo)

    Awesome! Thank you so much, Steven!

    Thread Starter mfeddo

    (@mfeddo)

    So, I have one more (hopefully) quick question: Is it possible to have the featured image as a thumbnail image on the “category” page, but not be seen on the actual post?

    Thank you for your time!

    Ah…that’s my mistake- sorry about that. To limit it to the single post page, you can add .single-post to the beginning of the selector, like this:
    .single-post #post-100 .entry-thumb img { display: none; }

    If you need anything else, let me know! 🙂

    Thread Starter mfeddo

    (@mfeddo)

    This is exactly what I wanted to do — thank you so much, Steven!! I really appreciate you getting back to me so quickly!

    Sure thing- glad it worked! 🙂

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Remove featured image from a post’ is closed to new replies.