• Hi,

    I just moved my blog from blogger to my own webpage – so i’m all new in this. For two days i’ve been trying to remove a featured image that shows up above my post. Nothing will work. I created a child theme, but i’m not even sure how to use it.

    Can anybody PLEASE help me with a step by step method to remove these images? I’ve been searching for a solution but nothing til work for me.

    Thanks

Viewing 9 replies - 1 through 9 (of 9 total)
  • remove the corresponding code from content.php in the child theme;

    line 20:

    <?php the_post_thumbnail(); ?>

    Thread Starter ViggasMor

    (@viggasmor)

    But i only have a style.css

    Should i also be having a content.php?

    Moderator Jan Dembowski

    (@jdembowski)

    Forum Moderator and Brute Squad

    I think making a copy of that content.php file into your child theme is better but I think you can do it with this CSS in your child theme’s style.css file.

    .entry-header {
       display: none;
    )
    Thread Starter ViggasMor

    (@viggasmor)

    The CSS works – but i removes the headline too ??

    Moderator Jan Dembowski

    (@jdembowski)

    Forum Moderator and Brute Squad

    That’s not good, I think I messed that one up.

    Try img.attachment-post-thumbnail.wp-post-image instead.

    Thread Starter ViggasMor

    (@viggasmor)

    Just like you’ve written it? In that case it does not work…

    Thread Starter ViggasMor

    (@viggasmor)

    If i’m going to edit my content.php file… Should i just copy all the content into the style.css or do i have to make a new directory for it?

    Moderator Jan Dembowski

    (@jdembowski)

    Forum Moderator and Brute Squad

    No no, copy themes/twentytwelve/content.php into themes/twentytwelve-child and then edit that copy be editing line 20 as alchymyth said above.

    Once you’ve done that then clear your browser’s cache and revisit your website.

    Thread Starter ViggasMor

    (@viggasmor)

    IT WORKED! Finally! Thank you SO much. That’s a huge relief ??

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘How to move featured image from twenty twelve theme’ is closed to new replies.