[Resolved] Hide Categories Name & Description From Appearing

Home Forums Support [Resolved] Hide Categories Name & Description From Appearing

Home Forums Support Hide Categories Name & Description From Appearing

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #146343
    Chris

    Hey,

    I’m trying to hide the Categories Name & Description from appearing.

    Catergories Name & Description

    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

    #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.

    #146353
    Chris

    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.

    #146355
    bdbrown

    You’re welcome. Glad to help 🙂

    #206615
    Truda

    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!

Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.