Take a look at the body class tags. This will help you further define your CSS selectors to target the elements you want to hide. In this use case, you can a single CSS rule to hide the header on each and every woocommerce page.
Here is what I would use in your case
.woocommerce header{ display: none; }
There are many different ways to do this. You could use PHP or Javascript to accomplish the same results but I believe this is the simplest solution.
Related Posts:
- WordPress Twenty Seventeen header image size not responsive for mobile
- Hide Add to Cart Button
- Woocommerce checkout fields on the same line
- Editing Header Titles of each details in woocommerce Order Email [closed]
- WooCommerce: The model of e-mail is displaying only the html, not css [closed]
- Update html tag class values based on Woocommerce product attribute dropdown selection [closed]
- WooCommerce Country Drop Down colours CSS [closed]
- show content of a page built using yootheme builder on different page/template
- Checkout form looks terrible [closed]
- how customise Woocommerce style of custom theme
- Trying to style Woocommerce sidebar Cart Widget [closed]
- How can I selectively insert a header for my shop page in woocommerce? [closed]
- How to Remove Active css from woocommerce variation?
- Online wc-blocks-style.css rendering instead of the hosted wc-blocks-style.css
- Can’t hide product attributes with css on WooCommerce Product Page
- How to hide “Shipping” label from Woocommerce cart page
- How can I make a thumbnail slider
- How to hide a random text with a div tag using a class on product pages with a specific tag
- Two Filter Issue [closed]
- How to edit wc_get_template_part for archive products
- Logo showing on some page but not on product categories pages
- How to make wocommerce shop products same heigt
- Woocommerce doesn’t work with theme, header missing and css messed up
- Apply CSS to certain product thumbnails only
- How to display 2 products per row for Mobile using WooCommerce?
- How do I make my products on the homepage responsive?
- Photo cover in WooCommerce
- Pseudo class :before don’t working in a specific button
- WooCommerce Storefront site-header padding
- Website Tablet Check Out Field Issue
- Trying to link to a custom css file in a new folder
- How do I make a diagonal strikethrough on wordpress? [closed]
- How to add my theme’s style to woocommerce blocks?
- CSS url rules not relative to css path in account endpoint areas. IE. subscriptions
- Insert a custom field as a second email address to a completed order in WooCommerce
- How to disable Woocommerce password recovery and use the default WordPress password reset page?
- Limit users to one active subscription in WooCommerce Subscriptions? [closed]
- WooCommerce add_to_cart() with custom price [closed]
- Declaring custom woocommerce product type as virtual / downloadable only [closed]
- How to remove_action inside class [duplicate]
- Redirect if current user is logged out and current page is /my-account
- WooCommerce HTML after short description if product is in specific category
- How to get total count for each star rating?
- WooCommerce Apply Coupon to order AFTER taxes
- Rewriting Woocommerce Product Filters To URL Segments
- echo product id and product_item_key in cart [closed]
- Redirect the single product page link to the shop page
- Is WooCommerce updates for WordPress necessary? [closed]
- How can I display *only* the child category of a product?
- How to implement Handling Fee like the Shipping on Cart and Checkout page on WooCommerce [closed]
- why featured product not updated in postmeta table in woocommerce?
- wooCommerce checkout page State / County (optional) validate not working
- WooCommerce limited role
- Skip WooCommerce 4.5.x onboarding with WP-CLI [closed]
- Automatically making a newly saved payment method default in WooCommerce
- WooCommerce update_shipping_method ajax call wipes shipping method set on non-checkout page [closed]
- Download permission for non-purchased products
- Display FREE for $0 products in woocommerce ++++ [closed]
- How to add existing categories into a post using wp_insert_post
- create comment box in woo-commerce shop order [closed]
- Product variation attributes does not appear as it should in the cart – woocommerce [closed]
- Woocommerce: how to know if the customer is canceled the order or the shop owner? [closed]
- WooCommerce Price Filter not working? [closed]
- Adding Buy Button to Blog Post (Woocommerce) [closed]
- How to replace WooCommerce Product Gallery Trigger icon using PHP/CSS? [closed]
- woocommerce_order_status_completed not working
- Synchronise Renewals on existing subscriptions [closed]
- Add rewrite rule to make Woocommerce product category page seo friendly
- How to show the urls inside the simple product when the customer buys it?
- Custom template – query issues
- Sort downloads by most recently purchased first in my account WooCommerce [closed]
- Hide shipping method in woocommerce if custom checkbox field is selected
- how to change add to cart button to call for price button in one of product variation?
- How to add woocommerce products header title in woocommerce_breadcrumb hook to function.php
- apply_filter and add_filter conflict
- Getting in an exception for get product detail by id in woocommerce REST api
- Woocommerce Variation product added twice to cart
- Woocommerce Ajax add to cart redirect to homepage
- How to merge 2 accounts with same email address after merge of 2 woocommerce databases
- How to save a Woocomerce metabox input as a metadata field
- populating extra field with woocommerce categories
- Woocommerce Shop Manager Capabilities
- customize src attribute in woocommerce single product image
- How to tell woocommerce slider to use thumbnails
- Add customer name to woocommerce email-header.php heading
- woocommerce sort by dropdown styling
- Mysql query – amount spent by customer
- Integration widget Mondial Relay Js
- Custom Registration Fields woocommerce
- How Do I Access Parameters Emitted by an Action?
- bulk media crop for featured images
- Include customer details in woocommerce 3rd part plugin email
- how to add a page to a plugin?
- Unable to get product category
- Send data to external websites when there is an update or create a post
- WooCommerce product permalink based on product’s current category
- Disable duplicate WC product category URLs
- how should i get products based on tags in woocommerce
- Add custom text to product category page
- Woocommerce permalink URL change in DB