Hide element on specific product category page
-
Hi, I would like to hide an element on a specific woocommerce product page. I know for common pages it would be:
.page-id-1 .xxxxxxx {
display:none
}What to I have to use instead of .page-id-1 if I want to hide an element on a woocommerce product page?
https://mb-zwo.de/produkt-kategorie/massivholztische/Thanks!
-
Hi! I’d recommend viewing the page source and looking at the Body tag. You should spot something in there that you can use as an identifier.
Going forward, you’ll also want to use the correct forums for self-managed installations, at https://wordpress.org/support/forums/
Or the WooCommerce forums here:
https://wordpress.org/support/plugin/woocommerceThese are the forums for free sites hosted at WordPress.com, which are fairly different from what you’re running:
Cheers!
- The topic ‘Hide element on specific product category page’ is closed to new replies.