Hide Category Description on category pages
-
How can I hide the category description on category pages? I have a category (“Designs”) that I’m using in my main menu and I’ve used CSS to extensively customize the Shop Isle child theme I created. I need the descriptions and don’t want to delete them. I just want a CSS rule to hide them on category pages in the theme.
I’ve already attempted several CSS specificity level (even including !important) to no avail. Here are the rules I tried:
div.main section.page-header-module h1.module-title > p { display: none !important; } section.page-header-module.module.bg-dark div.container div.row div.col-sm-6.col-sm-offset-3p p { display: none !important; } body.category section.page-header-module div.col-sm-6.col-sm-offset-3p p { display: none; } .term-description-wrap { display: none; }
The last one was from a post I read on the wordpress forum here.
The page I need help with: [log in to see the link]
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Hide Category Description on category pages’ is closed to new replies.