You can try :
body.category-uncategorized .entry-header {
display:none;
}
“uncategorized” Should be your category slug. This is for the post category only. If you have a custom registered category then you can check the element. There you should get your category name.
This is what for WooCommerce category:
So you should use like this for WooCommerce “accessories” Category:
body.term-accessories .entry-header {
display:none;
}
Hope this will help.
Related Posts:
- Modifying posts based on category in TwentyTwentyTwo theme
- Where are Additional CSS files stored
- How to include own css on wordpress tinymce editor?
- How to get current_cat in navbar, in single post
- How to customize the default HTML for WordPress Attachments
- How can I get posts in a subcategory to display on it’s parent categories archive page?
- Is it possible to change the attributes of a registered style or script before it fires?
- Custom category order with get_categories
- FireFox Inspector :: find CSS file related to
- Custom CSS for full post vs. excerpt (Content Options)
- Custom sidebar category listing?
- Auto add taxonomy if post has category
- How to get WordPress to accept the tag in articles (or other alternatives)
- Hide post meta data on a specific category
- How to remove padding and margin between divi rows? [closed]
- What will happen to the additional CSS when the theme is updated?
- How to display post title & excerpt when mouse hovers on an image?
- Include user defined styles without including wp-load
- Cannot figure out how to center div in WordPress theme [closed]
- Customizing default Mediaelement player
- how can I change the background color of all posts on my server?
- Show posts on a page based on a category and tag(s)
- Query posts by category AND custom field, then ORDERBY another custom field – help!
- How to add “Read More…” link in twentytwenty
- CSS to remove “comments count” icon from main page [closed]
- how to add custom css and js on wordpress post editor directly without using .php file
- TwentyFifteen: How can it show a different color on every post page?
- Adding code to child’s theme css and php cannot override certain elements
- how to get the categories for a single product in a hierarchical way
- Automatically check parents (in a taxonomy) when child is selected
- Category selectable homepage
- Is it possible to add a ribbon in the background of h1 on every page?
- Resizing of a header/div in a website through css in wordpress [closed]
- How to change the category url jusy show /category/%category_id% in wordpress?
- Child Theme with multiple css files
- CSS Customizations for certain page
- How can I create a permalink with two categories, with the order based on the parent category?
- Redirect to another page using contact form 7? [closed]
- Custom CSS at Appearance > Edit CSS is missing after update [closed]
- CSS Styling a specific page
- How to remove footer from just homepage
- Why the css in twenteenfourteen-child theme take no effect?
- How to format text of site subtitle
- how to add custom logo to my template
- WordPress noob, assign custom stylesheet using @import or if? Didn’t work for me
- str_replace inside specific css files [closed]
- How do I list custom taxonomy terms with the links?
- Good way to customize admin CSS?
- css media query question [closed]
- How to customize the WordPress 2014 theme, to have page using less horizontal margin?
- Different CSS class by category
- Remove header title form page through CSS [closed]
- Centering one product on a single page [closed]
- Custom css per category and per single post belong in each category
- How To Style Links in Content Area With Tag Automatically?
- Get whole linked with wp_list_pages
- Adding Multiple “Parents” in get_categories
- Inline-Table under TwentyTwelve not working
- custom css and javascript not working on page defined as template?
- WordPress menu: How to make www.link.com/#name never contain current_page_item class?
- How to setup a membership system in WordPress?
- Make the home page template my archive/category page template without code duplication
- Get custom text if in Category
- Create Miltiple Category Base
- How to add Custom Css within the Editor?
- Will WordPress updates remove Gutenberg Additional Classes?
- Custom CSS Nav Menu Style Not Being Applied
- Background setting isn’t applied to entire sidebar height
- Special characters showing in fallback font
- How to support extra color options for shortcodes?
- Post thats in Two Categories, only want to display name for one
- Adding css and js to a blank page created with custom template
- Will too many overridden css rules lead to performance issues
- Complete Custom Style Part of Site
- add custom css on all page exept of one
- Making custom pages (with an example to explain the goal)
- How to prevent page re-sizing for mobile browsers [closed]
- Custom CSS File wont work on second Page
- how can i change the html and the css of my word press theme that I bought?
- responsive screen not working [closed]
- Edit image alignment in WordPress twentysixteen child theme on attachment page [closed]
- woocommerce display product category on checkout page [closed]
- adding new html css to wordpress section from codepen [closed]
- use another theme for just one page
- Instead of Custom CSS Theme CSS is loading
- Prevent posts from being published if the ‘Uncategorized’-category or no category is selected
- How do I add custom CSS animations for specific Gutenberg blocks?
- Particle.js not loading in WordPress Gutenberg
- Cannot add custom css in site
- Custom CSS working on home page but not on NEW created PAGE
- Post interior margin in twenty eleven theme
- Show last child Child category instead of first child category on page
- Disable all Fonts that are Standard in WordPress and replacing them with a custom Font?
- wordpress categories narrow down results
- How to display product variations on same row
- Add custom styles to the Raft theme
- Where did I put this one line of css?
- Hover Hide-Visible Additional CSS not working in WordPress website, but shows properly in Customize window
- Can’t change WordPress / WooCommerce attribute value order
- Newbie question – which css file to edit