[Resolved] How to remove featured image per category?

Home Forums Support [Resolved] How to remove featured image per category?

Home Forums Support How to remove featured image per category?

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #169543
    Sven

    Hi Tom,

    let’s say I have a category “video” and I add featured images to posts of that category. How do I hide the image in each post of that category itself?

    I assume, I have to customize

    .page-header-image-single {
    display: none;
    }

    in a certain way…?

    I appreciate your answer!

    Best regards,
    Sven

    #169646
    Tom
    Lead Developer
    Lead Developer

    Hi Sven,

    If you want to hide the image inside the full post within a category, you’ll have to do something like this: https://generatepress.com/forums/topic/change-header-background-for-category-or-pages/#post-108374

    That whole topic should be helpful.

    Let me know πŸ™‚

    #169695
    Sven

    Got it:

    /* hide featured image of category VIDEO */

    .category-video .page-header-image-single {
    display: none;
    }

    πŸ™‚

    #169714
    Tom
    Lead Developer
    Lead Developer

    Awesome πŸ™‚

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.