WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. lukeguy
    Member
    Posted 6 months ago #

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

  2. Trisha.Blogs
    Member
    Posted 5 months 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 5 months ago #

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

    Where exactly in style.css does it go?

  4. Trisha.Blogs
    Member
    Posted 5 months 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 5 months 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

Reply

You must log in to post.

About this Theme

About this Topic