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
- Woocommerce product not responsive
- Styling made on archive page product images applies to product images on cart header block and on cart page but should not
- WooCoomerce: cannot change menu color on the woocommerce pages only
- WordPress Development Workflow
- edit URL of search result
- WooCommerce Stripe Test mode
- I’m getting error Ultimate WooCommerce Filters
- Woocommerce Variation product added twice to cart
- when product out of stock single page show button notify woo-commerce
- Google Analytics gtag code messes up woocommerce cart & login
- How to remove the Sub category product URL Woocommerce
- Woocommerce redirection product_name -> product_cat/product_name
- Woocommerce product query not working in other WPML languages
- No Results in WooCommerce Product Search
- WooCommerce , Auto cancel orders status from processing after X days
- Change WooCommerce Word “Product” to Another Word
- WC_Structured_Data Class Causing Needless Translation
- Woocommerce add_to_cart() then wp_safe_redirect() fails
- How to use decimal in quantity fields in WooCommerce for certain categories?
- How does a WooCommerce site integrate with the existing real world customer members?
- Woocommerce API security concerns
- Placing Lock Icon on WooCommmerce “Place Order” Checkout Button (WordPress ‘ignoring’ Changes…)
- How to add a wrapper element on image for products page
- Getting WordPress fatal error when hitting WooCommerce API
- Dynamic subdomains for woocommerce affiliate sales but NO multisite. Is that possible?
- WooCommerce Product Search box with 3 dropdown menus
- How to Sync Woocommerce and CRM via External API
- Woocommerce get attributes
- How can I send information when a order is completed to my own POS?
- Adding Tracking Details for Advanced Shipment Tracking Plugin From Order Notes
- Add custom field address_3 before city in user profile
- check shipping amount in woocommerce_after_checkout_validation?
- Add sale count next to star rating in woocommerce single product page
- How to display woocommerce product details on wp page
- How to make phone number become whatsapp link in back-end order details woocommerce
- Woocommerce shop page not showing all products
- Split taxonomies on different pages
- How to upload very large JPGs to Media Library for WooCommerce digital download prints
- woocommerce REST api on the website’s front-end
- Woocommerce posts and products links works only once and then get 404 error
- Format number to 2 decimal places
- Wrong Billing Information in WC_Checkout->get_checkout_fields(‘billing’)?
- How to display two different custom taxonomy terms on a WooCommerce single product page
- use vendor address instead of store main address for shipping and taxes calculation
- Two e-commerce in two different folders of the same domain
- where does $checkout in form-checkout.php woocommerce come from? [closed]
- Random 503 and 504 errors
- Registration roles
- Woocommerce Product Variation – Add Price Logic
- Change password notification email
- How to show price update date in product single page?
- How can we find a WooCommerce shop bottleneck? (only when cart is full)
- woocommerce add button underneath order details
- add_post_meta add latest data from meta_value array
- Where do I remove admin order fields (unset doesn’t work)
- Display related product categories by subcategory
- How to Get WooCommerce Product Price
- Woocommerce List categories with Image thumbnail
- How to add (and change the font of) the short product description to order page and customer’s new order e-mail [closed]
- Woocommerce Rest API: woocommerce_product_invalid_image_id
- Woocommerce Multisite global search how to mod ajax function?
- Conditional for product attribute page
- Setting Page Visibility for WooCommerce Default Page Doesn’t Work
- WordPress | Woocommerce | use “category display type” in if statement
- Deleted products from woocommerce are still in the database