How can I remove featured images from child pages and keep them on home page?

  • Unknown's avatar

    I’d like to remove the featured images from the four child pages I have, as the images are huge. I’d also like to keep the images from the parent (home) page.

    I’ve gone through the forum but couldn’t find anything that works for me.

    Does anybody know how to do this?

    The site I’m working on is:

    https://marcvanmoorsel1.wordpress.com

    Cheers,
    Marc

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

  • Unknown's avatar

    I’d like to remove the featured images from the four child pages I have…

    Those are posts. You might be able to hide a featured image on a single post with CSS customization. You could add a “modlook” tag to the sidebar here to call for staff attention.

  • Unknown's avatar

    Hi there, we can target only the single post pages by using the single CSS class declared in the opening HTML body selector like this.

    .single .entry-thumbnail {
        display: none;
    }
    .single .entry-content {
        padding-top: 100px;
    }

    The second rule adds some top padding to the content area so it doesn’t site right up against the bottom of the post title.

  • The topic ‘How can I remove featured images from child pages and keep them on home page?’ is closed to new replies.