Is there a CSS ID for the WooCommerce shop page like there is for single-product etc, so that I can easily target CSS for that page only?
Question posted in Woocommerce
The official Woocommerce documentation can be found here.
The official Woocommerce documentation can be found here.
2
Answers
You can check for classes in body tag of your shop page. If your theme adds any specific class for shop then you’ll find it there else
post-type-archive-product
class may help.WooCommerce does not add a body class specifically for the main shop page.
post-type-archive-product
is probably enough for most cases.But if you want to specifically style the main shop page instead of all product archives then you can use a filter: