Can CSS hide featured images?

  • Unknown's avatar

    I’m considering changing my theme from Opti to Twenty Sixteen but have the eternal problem of current featured images (hundreds of them) appearing as duplicates in the new theme. I’ve been told there’s no single global control to turn off featured images. But I’m wondering if there’s a way to do it via CSS? Perhaps some command to hide featured images? If so, could someone help me with the code? This one problem means there are dozens of themes I can’t use.

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

  • Unknown's avatar

    Hi there,

    While testing, I saw that with the Twenty Sixteen theme, I was able to hide the featured image with the below custom CSS code:

    .post-thumbnail img
    {
    	display: none;
    }

    However, this will need to be tested with your content to make sure that everything appears as you’d like.

    I hope this will help you, please reply if you need anything else.

    Take care,

    Onur

  • The topic ‘Can CSS hide featured images?’ is closed to new replies.