Navigation
This is archived content. Visit our new forum.
  • Author
    Posts
  • #159971

    ttbrown
    Participant

    Hi there – I am checking to see if there is a setting that I can configure to remove the featured imaged from displaying in my blog posts. If not can you please share the code and which file I need to add it to so universally the featured image is removed? To clarify, I want the thumbnail to continue displaying, I just don’t want the image on the post. Thank you.

    #160147

    Christian
    Moderator

    Hey there,

    Please give us the URL of your site or the Stach you’re using so we could give you a tailored solution.

    Thanks.

    #160841

    ttbrown
    Participant
    #161063

    Paul R
    Moderator

    Hi,

    Thank you for providing url.

    To remove featured image in blog post, you can add this under Custom > CSS in the Customizer.

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

    Hope that helps. 🙂

    #162967

    ttbrown
    Participant

    It worked. Thank you.

    #163282

    Rubin
    Keymaster

    You’re welcome!

    #275074

    jeanpier_re
    Participant

    This may vary by implementation but I had to do the following to get the same result.

    
    body div.entry-featured {
      display:none;
    }
    #275195

    Rue Nel
    Moderator

    Hi @jeanpier_re,

    Thanks for updating this thread!

    There is a difference between the custom css. With your code:

    body div.entry-featured {
      display:none;
    }

    It removes the featured image in any of the pages in your site. Using this code, on the other hand,

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

    Only removes the featured image in your single posts.

    Hope we’ve explain it briefly.

    #278567

    hamerkate
    Participant

    Morning!

    What would the code need to be to remove it from pages rather than posts? I am struggling to get nice images to show on Facebook in open graph when I share a link and I thought the featured image may solve it but I don’t want to have the featured images on my pages such as ‘welcom’. My site is katehamer.com

    Thanks

    #278603

    John Ezra
    Member

    Hi there,

    Thanks for writing in! We are not able to see any featured image on your “welcome” page. Have you solved your concern already?

    There is a small box from a <p> tag with element inside it. You can hide that with:

    .entry-content.content p:first-child { display: none; }

    Hope this helps thanks!

    #284236

    hamerkate
    Participant

    Hi

    You couldn’t see it because I had removed it as it looks so ridiculous. Sorry but I am not clear on your advice when you say a <p> tag with element inside it. I can’t see anything relating to the featured image in the text version of the page. I tried pasting in .entry-content.content p:first-child { display: none; } but I guess I need to replace first-child with something? I don’t really want to leave the site live with this massive featured image. Can you tell me when you are online and I will load again?

    Thanks

    #284606

    Zeshan
    Member

    Hi there,

    Thanks for writing in!

    You can simply hide the featured image from your pages using this CSS code instead:

    .page .entry-featured { display: none !important; }

    Hope this helps. 🙂

    Thank you.

    #284688

    hamerkate
    Participant

    Thanks, that worked to not show the image altho I have a very light little box above my slider to the left, do you know what that is? Also still when I try to share my URL on facebook I get a choice of three images from my page which don’t fit the size of the box. Also it doesn’t seem to be using the meta data from my site which is All in one SEO but instead is using the first bit of copy on my site. Any ideas how I can fix this?

    Thanks

    #285158

    Prasant Rai
    Moderator

    Hello There,

    Thanks for writing in! To assist you with this issue, we’ll first need you to provide us with your URL. This is to ensure that we can provide you with a tailored answer to your situation. Once you have provided us with your URL, we will be happy to assist you with everything.

    Thanks.

    #317045

    rabbler
    Participant

    Hi guys

    I’m just getting going on redoing our website here using your deadly theme x.

    Im using a stagepost site to redevelop before swapping it all over.

    C’mere, is there a away to remove the featured imaged on all posts preceeding a certain date?

    Just that I really like how your featured image works but our old time only displayed the featured image on the post thumbnails and front page and indexes etc.

    take a look at http://rabble.ie and you’ll see what I mean.

    So we had to stick it in manually.

    Or is there a way of deleteing every first image on every preceeding post and letting theme x pull in the featured images on all the old posts?

    http://rabble.wpstagecoach.com/