• I’m attempting to hide meta data from a specific post category (peace-calendar-event) by using the following CSS:?

    .entry-meta,
    .category-peace-calendar-event .entry-meta{? ? display:none !important;}

    Unfortunately CSS removes the meta from all posts – regardless of category.  Is there something specific in the Astra theme I am missing so I can effectively adjust this CSS to only remove meta from the post category “peace-calendar-event”?

    I’ve seen in another forum the following code used:

    .page-template-template-magazine-php .post-meta, .category-services .post-meta, { display:none; } 

    Is there a page template in Astra I should be including in my CSS?  If so, what might it be?

    Here is an example post I’m trying to fix (the CSS above is coded out as I don’t want to remove meta from other posts):

    https://www.peace-ed-campaign.org/peace-and-justice-studies-association-pjsa-annual-conference/  (Password: 1234)

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Hi @pttony,

    This seems to require a custom solution. Try adding this custom CSS:

    .post-97{ 
    	.entry-meta{
    		display: none;}
    }

    Make sure to replace the name with your actual post category.

    Kind regards,
    Aradhy ??

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.