Reputation: 65
Because page-id isn't working or showing in view-source. Also I can't find any page specific class.
I'm trying to change the background-color of the WooCommerce pages that don't have page-id including:
The page URL is: https://kampgaroo.com
I tried using the page id that I found in the dashboard/pages and it's not in the shop code.
Upvotes: 1
Views: 906
Reputation: 842
For category
.tax-product_cat .site-header__masthead.masthead-v1 {
background: #000 !important; }
For Shop
.woocommerce-shop .site-header__masthead.masthead-v1 {
background: #000 !important;
}
For checkout
.page-id-147 .site-header__masthead.masthead-v1 {
background: #000 !important;
}
Upvotes: 1