Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1137296
    FilmLA
    Participant

    Hello,

    I am running into a bit of an issue from a suggestion I saw on a closed post:

    That can be done, just add the following CSS in your Customizer:

    .hideFeaturedImage .entry-featured {
        display: none;
    }

    And whenever you want to hide any post’s featured image just add hideFeaturedImage class in Body CSS Class(es) field in Post editor under Posts Settings. This will hide it’s featured image.

    This works, but the problem is that it styles ALL my posts this way, rather than just the posts with the CSS body class: .hideFeaturedImage

    Any suggestions?

    I’ve had similar success doing this by category in the CSS customizer, but then the featured images still appear on the main blog page. To be clear, I want the featured image to only appear as a thumbnail in recent posts for a certain body class or category.

    For reference, this is my site:
    http://test.filmla.com/news/

    #1137463
    Darshana
    Moderator

    Hi there,

    Thanks for writing in! Regretfully, at this time I am not entirely certain what it is you would like to accomplish based on the information given in your post. If you wouldn’t mind providing us with a little more clarification on what it is you’re wanting to do (a link to a similar example site would be very helpful, or perhaps some screenshots), we’ll be happy to provide you with a response once we have a better understanding of the situation.

    #1138562
    FilmLA
    Participant

    Hmmm. Let me try re-phrase…

    For the Renew stack, I want “Featured” images for blog posts to NOT be displayed for specific “Category” ONLY.
    However, for the “Recent Posts” feature, I’d like the thumbnail to still be displayed.

    Make sense?

    For now, I have this working, when one clicks into the individual post page within the category, but the Featured images are still appearing in the main blog page. See attached images for specifics.

    #1139001
    Friech
    Moderator

    Hi There,

    You can add this under Custom > CSS in the Customizer.

    .blog .category-production-alerts .entry-featured {
        display: none;
    }

    Hope it helps, Cheers!

    #1142188
    FilmLA
    Participant

    That helped and solved my obstacle. Thanks so much!

    #1142434
    John Ezra
    Member

    You’re most welcome!

  • <script> jQuery(function($){ $("#no-reply-1137296 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>