The Support Forums will be in read-only mode for a scheduled maintenance window on 01 September 2016 14:00 UTC - 20:00 UTC. More information.

Twenty Fourteen
How to Hide Feature Image Within Post (6 posts)

  1. lukeguy
    Posted 2 years ago #

    I want to simply hide feature image within post. How do I fix this?

  2. Trisha.Blogs
    Posted 2 years ago #

    I was also searching for this for ages...

    In style.css, add this
    .single .post-thumbnail img { display: none; }

    Hope this works for you!

    [Link removed]

  3. lukeguy
    Posted 2 years ago #

    I tried it. Didn't work for sharkskills.com/ghostwriter

    Where exactly in style.css does it go?

  4. Trisha.Blogs
    Posted 2 years ago #

    As you can see from my website (http://florencetravelblog.com) featured image is hidden on posts but shown on homepage. Is this what you wanted? It can be pasted anywhere in your child style.css.

    I have seriously no idea why the reference link was removed. It was explained very clearly on that site. This is the link again:

  5. pjce
    Posted 2 years ago #

    I had a similar issue with the twenty fourteen wordpress theme where the featured image was displaying above every post on my posts page. I had used 2014 extended to use a static front-page.

    This is the CSS I added to get the featured images displaying on my front-page but no other pages.

    .post-thumbnail img { display: none; } /* Hides featured image on all pages */
    .page .post-thumbnail img { display: block; } /* Un-Hides featured image on main static page */

    Works with my site but have only tested it there, hope it helps someone.

    - Custom CSS should be added to the bottom of your style.css, ideally within a child theme

  6. youportraits
    Posted 1 year ago #

    I added ".single .post-thumbnail img { display: none; }" in style.css and it worked a treat on PC and mobile, the only problem is there is no padding and the page title is hard up under the header on my PC (looks fine on mobile).

    Any help?

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic