Realigning quantity and plus/minus buttons
-
Hi. I have been trying to get product variations to come up on the shop page (so customers don’t have to leave the page), and I found this snippet:
add_action( 'woocommerce_before_shop_loop', 'handsome_bearded_guy_select_variations' ); function handsome_bearded_guy_select_variations() { remove_action( 'woocommerce_after_shop_loop_item', 'woocommerce_template_loop_add_to_cart', 10 ); add_action( 'woocommerce_after_shop_loop_item', 'woocommerce_template_single_add_to_cart', 30 ); }
and it works perfectly in that the variations come up right there on the shop page. EXCEPT, now my plus, minus and quantity info are misaligned. I’ve tried everything I can think of via Inspect to fix this, to no avail. Would someone be able to point me in the right direction on this?
The page I need help with: [log in to see the link]
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘Realigning quantity and plus/minus buttons’ is closed to new replies.