Remove Featured Image from the single post view

  • Unknown's avatar

    Hi Brains of wordpress,
    I was hoping someone might be able to steer me in the right direction. I want to remove the featured image from the top of posts but still keep it appearing on the front page slider. I have the linen theme and
    I tried this css code

    /* Hide featured thumbnail from single post view */
    body.single .single-post-thm {
    display: none;
    }

    but had no success.

    The blog I need help with is: (visible only to logged in users)

  • Unknown's avatar

    That looks like it should work, it looks like the problem is still that you have a couple of “broken” CSS declarations which is stopping the following rules from being applied. You also have some of the rules applied multiple times. I’ve had a quick check through, try deleting all your existing rules and replace them with the below (if anything goes wrong then you can go back to the previous versions in the edit history):

    #content .entry-title {
      color:#000;
    }
    
    navigation-main,
    .navigation-main li {
      background-color:#08a42e;
    }
    
    .primary-navigation a {
      font-size:30px;
    }
    .entry-title,
    .entry-title a {
      color:#30a20e;
    }
    
    .container_24 .grid_12 {
      width:100%!important;
    }
    
    #headimg {
      max-width:470px;
      margin-right:auto;
      margin-left:auto;
    }
    
    .entry a:hover {
      color:#30a20e;
    }
    
    main-navigation a {
      color:#182a2f;
    }
    
    .entry-title,
    .entry-title a {
      color:#30a20e;
    }
    
    .wp-caption-text,
    .widget-title {
      font-style:proxima-nova;
    }
    
    h2.title a {
      color:#000;
    }
    
    menu > li > a,
    .menu > li > a:link,
    .menu > li > a:hover {
      color:#000!important;
      font-weight:300;
    }
    
    .menu > li > a {
      border-left:2px solid #000;
    }
    
    .menu > li > a,
    .menu > li > a:link,
    .menu > li > a:hover {
      color:#000!important;
      font-weight:400;
    }
    
    .menu > li > a {
      border-left:2px solid #000;
    }
    
    a:visited {
      color:#090109;
    }
    
    #navigation {
      background-color:#30a20e;
    }
    
    .entry-title a {
      color:#2a2a2a;
    }
    
    .home #navigation {
      background-color:#30a20e;
    }
    
    .nav a:link,
    .nav a:visited {
      color:#2a2a2a;
    }
    
    .slide-content a.more-link {
      background-color:#30a20e;
    }
    
    .post-date {
      background-color:#30a20e;
    }
    
    #wrapper #sidebar h2.widgettitle {
      font-size:1.5em;
      font-weight:400;
    }
    
    #sidebar h2.widgettitle {
      font-size:1.5em;
    }
    
    h2.widgettitle {
      font-size:1.5em;
    }
    
    wf-active #sidebar h2.widgettitle {
      font-size:1.5em;
      font-weight:400;
    }
    
    .home #navigation {
      font-size:2.5em;
      font-weight:400;
    }
    
    .nav a {
      font-size:1.6em;
    }
    
    body.single .single-post-thm {
      display:none;
    }

    Let me know how you get on!

  • Unknown's avatar

    Hallluke you are a legend! I can’t thank you enough for all the help you have given me. Your worth your weight in gold :)

  • Unknown's avatar

    In that case I’m having a gigantic breakfast!

  • Unknown's avatar

    Hi Hallluke

    I’m not sure if you can help but I thought I’d ask anyway since you seem to have the answers for everything :). I have set up two columns on a page, but i’m having problems lining up the read more buttons. I tried changing things in the text editor but aren’t having much luck.
    Hope you had your gigantic breakfast.

    http://wp.me/P4SmfN-ay

  • Unknown's avatar

    Did you fix the problem? At the moment the “Learn more” boxes are appearing in line across both columns on the home page for me.

  • Unknown's avatar

    I checked http://travelerwellness.com/services-offered/ and the “Learn More” buttons look left aligned, which looks nice to me. I’m going to mark this thread as resolved. If you need further help, please start a new help request.

  • The topic ‘Remove Featured Image from the single post view’ is closed to new replies.