Archived topic
Hide the title on category page
14 replies · Started by xepace on September 17, 2014
Hi, Tom. Can you help me? How can I hide part with header and title of the category on category page?

This should work:
.category .page-header {
display: none;
}
No. It doesn't work.
Can you link me to the page so I can see if another style is overriding it?
Here it is http://mylisbon.ru/category/news
Ah ok - this should do it.
.category .page-header {
display: none !important;
}
Thank you
Hello. I am trying to hide the category title and description from appearing at the top of the page - this is how it looks like now: https://strictlyrome.com/category/visit-rome/
How do I hide that?
Hi Claudia,
If you're trying to hide it on just category taxonomy archive pages, you can try adding this CSS:
body.category header.page-header {
display: none;
}
If you're trying to hide it on all taxonomy archive pages, you can try this:
body.archive header.page-header {
display: none;
}
If you're trying to hide it on a specific category (example: Visit Rome), try this:
body.category-visit-rome header.page-header {
display: none;
}
I am trying to hide it on all category pages across all my sites
Hi Claudia,
In your case, use Elvin's first CSS solution. :)
I have no idea where to place the CSS - can you provide step-by-step guidance?
Here's our recommended way of adding CSS.https://docs.generatepress.com/article/adding-css/
The easiest is by adding it on Appearance > customize > Additional CSS. You should see a text area. That's where you can place your CSS.
Thanks!
No problem. :D