Reply To: Hide Categories Name & Description From Appearing

Home Forums Support Hide Categories Name & Description From Appearing Reply To: Hide Categories Name & Description From Appearing

Home Forums Support Hide Categories Name & Description From Appearing Reply To: Hide Categories Name & Description From Appearing

#146348
bdbrown

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.