How do I hide categories on blog posts?

I searched the forum and found out how to hide the post tags so that my blog pages don’t display them, but cannot find an easy method for hiding the post categories. Can you steer me to the right page within the Customize settings, or tell me how to do it within CSS please?

Thanks in advance!

Hi,

In order to hide categories on blog page, apply custom css code below:

body.blog span.cat-links {
    display: none;
}

Best Regards

Thank you for the fast response! Much appreciated! :slight_smile:

If I use the code without the word “body” in front, i.e.

blog span.cat-links {
display: none;
}

Will that hide the categories everywhere?

Hi,

No it will not. If you want to hide categories on single post also, use custom css code below:

body.single.single-post footer.entry-footer span:first-child {
    display: none;
}

Best Regards

Thank you! :slight_smile:

You’re welcome,

Best Regards