How to remove a featured image from child page without removing thumbnail pix

  • Unknown's avatar

    Hi, this is quite urgent as our blog is going live on Thursday.

    I tried to remove the featured image from the top of the page in the child pages.
    I used this:

    .page-child .entry-thumbnail {
    display: none;
    }

    and then I added this as the text on the page moved up and obscured the nav bar:

    .child-pages {
    padding-top: 0;
    }

    This code did remove the featured image but it also removed all the entry-thumbnails in the grid – so I ended up with titles rather than titles and pictures linking to the child pages.

    So how do I get rid of the featured image in the child pages while still keeping the entry-thumbnails?

    Thanks

    Dawn

    http://www.mealsourkidslove.com

    The blog I need help with is mealsourkidslove.com.

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

  • Unknown's avatar

    Hi there, I think the following is what you want. Change

    .page-child .entry-thumbnail {
    display: none;
    }

    to the following

    .page-child .hero .entry-thumbnail {
        display: none;
    }

    If I’ve missed it with the above, give me a link to one of the pages you are talking about.

  • Unknown's avatar

    All I was missing was a hero!

    Thank you – that worked perfectly.

    You have been so patient and helpful – 3 weeks ago I knew nothing about css (I still don’t know much) but feel like I’m getting there.

    You’ve been amazing! :-)

  • Unknown's avatar

    Heh, you are welcome and thanks. :)

  • The topic ‘How to remove a featured image from child page without removing thumbnail pix’ is closed to new replies.