• Resolved Steve Biggs

    (@biggsytravels)


    I have the featured image set for the purpose of them appearing in blog rolls + having social media use my preferred image. However with such a big header image in the Hemingway theme, having the featured image appear above the title seems unnecessary IMHO. How can I add some custom CSS to “hide” the featured image from single posts please? All CSS options I’ve Googled so far don’t seem to work.

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Theme Author Anders Norén

    (@anlino)

    Hi @biggsytravels,

    To hide the featured image on single posts, go to Appearance → Customize → Additional CSS (the menu labels might be different in your language) and enter the following code:

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

    The Additional CSS field was added in 4.9, so make sure you’re running the latest version. Let me know how it goes.

    — Anders

    Thread Starter Steve Biggs

    (@biggsytravels)

    Thanks for your quick reply Anders. The reason my CSS code hadn’t worked was because after saving the draft and then “Previewing” I was still viewing my ‘home page’ and NOT a ‘single post’ page. Once I clicked through to one of my actual posts the featured image had been removed – so thanks. I now just need to reduce the size of the white space between the single post title/sidebar and the primary menu bar above it. Can you also assist with that please too? ;O thank you

    Thread Starter Steve Biggs

    (@biggsytravels)

    Setting as ‘resolved’ as Anders’ code successfully removed the featured image from ‘single posts’ as requested – thanks

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Hemingway Theme: removing the featured image from single posts’ is closed to new replies.