This topic has 4 replies, 2 voices, and was last updated 2 years, 6 months ago ago by Rose Tyler
Hi there, is that possible I move the Buy Now button to the same row as the Add to Cart button on the WooCommerce product page for saving more space?
Hello,
Disable this option https://prnt.sc/FcLVNFvST1Ov and use the next custom CSS code:
.single-product-builder .single_add_to_cart_button ~ .et-or-wrapper {
flex-basis: 10%;
margin-left: 10px;
margin-right: 10px;
}
.single-product-builder form.cart {
display: flex;
}
.single-product-builder .et_product-block .et-single-buy-now.single_add_to_cart_button.button {
width: 20%;
flex-basis: 20%;
min-width: 20%;
}
Regards
Hi there,
I used this custom CSS code and it shows that the Buy Now button is too narrow. Then I adjust the Min Width of Add to Cart button in Single Product Builder, it automatically adjusts the width of the two buttons to each other, looks normal.
But actually, the Buy Now button is never change, it’s still too narrow. How to fix this issue to adjust the width of both button?
Regards
Hello,
Please add this code also:
.single-product-builder form.cart .woocommerce-variation-add-to-cart {
width: 100%;
}
Regards
Tagged: add to cart, button, buy now, move, themes, woocommerce, wordpress
The issue related to '‘Move the Buy Now button to the same row as the Add to Cart button’' has been successfully resolved, and the topic is now closed for further responses