How to align Add to Cart with another button
-
I use YITH WooCommerce One-Click Checkout Premium for it’s One-Click Purchase function, but the way it sits below the default Single product Add to Cart button isn’t very clean.
Using Inspect Element I can align the default [Add to Cart] & [One-Click Purchase] buttons the way I want, but I need help on where to make the changes in the actual Woocommerce single product page file.
The code that works is…
<div class=”quantity”>
<label class=”screen-reader-text” for=”quantity_5dfb1b72235f6″>TEST Cart Quantity Product quantity</label><input type=”number” id=”quantity_5dfb1b72235f6″ class=”input-text qty text” step=”1″ min=”1″ max=”90″ name=”quantity” value=”1″ title=”Qty” size=”4″ inputmode=”numeric”>
</div><button type=”submit” name=”add-to-cart” value=”10728″ class=”single_add_to_cart_button button alt”>Add to cart</button>
<button type=”submit” class=”yith-wocc-button button” name=”add-to-cart” value=”10728″>
<span class=”button-label”>Buy Now</span>
</button><div class=”clear”></div>
Now where do I go to get it done? 🙂
Thank you.
- The topic ‘How to align Add to Cart with another button’ is closed to new replies.