Hide A Featured Image On Single Pages

Home Forums Gillion Theme Hide A Featured Image On Single Pages

Home Forums Gillion Theme Hide A Featured Image On Single Pages

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    RESOLVED Posts
  • siberus
    Participant

    Is it possible to hide a featured images on individual pages?

     

    Hi @siberus,

     

    I hope you are well today and thank you for your question.

     

    We can hide it developing custom CSS code.

     

    Could you please share me the page URL from your site where it is displaying so that i can help you to hide it?

     

    Best regards,
    Shufflehound team

    siberus
    Participant

    The problem is there is more than one page where I want to hide a featured picture, is this still possible?

    Yes it’s possible just share me the URL of one of the page.

    siberus
    Participant

    Link shared in private. Thanks!

    You can hide featured image on all single pages by adding the following CSS code in the Custom CSS code option of your theme on the below path.

     

    Admin Area -> Appearance -> Theme Settings -> Custom Code -> CSS Code

     

    .page .post-type-content .post-thumbnail {
        display: none;
    }

    siberus
    Participant

    But I want to hide this pictures only on choosen pages, not in all of them.

    Solution for this topic

    Then you have to use page IDs in the CSS code as displayed below where i used IDs of pages that you shared above.

     

    .page-id-942 .post-type-content .post-thumbnail,
    .page-id-725 .post-type-content .post-thumbnail {
        display: none;
    }

    siberus
    Participant

    Thank you, that’s what I needed

    You are most welcome here 🙂

Viewing 10 posts - 1 through 10 (of 10 total)