WordPress.org

Forums

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

  1. lukeguy
    Member
    Posted 1 year ago #

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

  2. Trisha.Blogs
    Member
    Posted 1 year 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!

    Reference:
    [Link removed]

  3. lukeguy
    Member
    Posted 1 year ago #

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

    Where exactly in style.css does it go?

  4. Trisha.Blogs
    Member
    Posted 1 year 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:
    http://techdwarf.com/themes/customize-twenty-fourteen-theme-wordpress/

  5. pjce
    Member
    Posted 1 year 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
    Member
    Posted 8 months 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