Support » Plugin: WooCommerce » Single product: category-specific styling

  • I’d like to give a certain element on my single product pages a different style depending upon what category the product is in.

    I know that the post ID becomes a class on the body tag, allowing me to style on a per-product basis. But how might I make the category ID become a class on the body tag, allowing me to style on a per-category basis?

    http://wordpress.org/plugins/woocommerce/

  • The topic ‘Single product: category-specific styling’ is closed to new replies.