Archived topic
Hide Categories Name & Description From Appearing
4 replies · Started by Chris on October 21, 2015
Hey,
I'm trying to hide the Categories Name & Description from appearing.

Any help would be grand. I'm still getting to grips with CSS so I'm not entirely sure what I'm looking for to be able to hide it.
Chris
Hi Chris. If you use a page inspector like Firebug in Firefox or Chrome Developer Tools you'll find the "archive" class in the <body> tag. This identifies that page as a post archive. Further down the page, in the content area, you'll see <header class="page-header">. This element contains both the category name and description. To hide those you would add this to either a child theme style.css file or use a custom css plugin:
/* hide category name and description */
.archive .page-header {
display: none;
}
Adding CSS: https://generatepress.com/knowledgebase/adding-css/
Hope that helps.
You are a credit to all us inferior beings. Thank you. I added it to the child theme style.css and it worked a treat. I'll look into this Firebug tool you speak of.
You're welcome. Glad to help :)
I have been searching for TWO days for a solution to this problem and none of the codes that was posted made any difference. I was starting to pull my hair out, but NOW you have finally solved the issue. THANK YOU THANKS! You are great!
