Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1381275
    Michael P
    Participant

    Hi,

    I have a blog entry in which I don’t want to use a featured image, but I’d like to have a thumbnail for the entry on the blog summary page. See the Dialogues with Sebastian Gronbach entry here:

    http://www.andrewcohen.com/journal/

    Is it possible to add a thumbnail with CSS, or is there a method of adding an alternative image?

    Many thanks!

    #1381474
    Rupok
    Member

    Hi there,

    Thanks for writing in! You can add this under Custom > CSS in the Customizer to remove featured image from single page :

    .single-post .entry-featured {
    	display: none;
    }

    Hope this helps.

    Cheers!

    #1381497
    Michael P
    Participant

    Thanks – how would I apply that to a single page? Apologies for my ignorance, but isn’t this global css?

    #1381554
    Thai
    Moderator

    Hi There,

    Please update the CSS to this:

    .single-post .entry-featured,
    .page .entry-featured {
    	display: none;
    }

    Hope it helps 🙂

    #1381568
    Michael P
    Participant

    Hi,

    That CSS removes the featured image on every blog post. I just want to remove the featured image for an individual blog post.

    Thanks!

    #1381655
    Nabeel A
    Moderator

    Hi again,

    If you need to remove the featured images individually then you can do this with post ids for example, to remove the featured image from the post id 626, you can use this code:

     .postid-626 .entry-featured {
    	display: none;
    }

    To find out the post ids see https://community.theme.co/kb/how-to-locate-post-ids/

    Hope this helps!

    #1381663
    Michael P
    Participant

    Thanks – that’s what I needed 🙂

    #1381687
    Prasant Rai
    Moderator

    You are most welcome. 🙂

  • <script> jQuery(function($){ $("#no-reply-1381275 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>