Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- add_filter( 'body_class', 'product_categories' );
- function product_categories( $classes ) {
- if (is_product_category('sanitaryware') && is_product_category('Faucet')) {
- $classes[] = 'product-category';
- }
- // return the $classes array
- return $classes;
- }
- .ifproduct-category #content {
- width: 100%;
- float: none;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement