Archived topic
Add to cart button responsive
3 replies · Started by Walid on January 6, 2021
Dear,
I know this forum is full of great people.
I added Paypal Checkout on my website on I want to make the add to cart button responsive to match the size of Paypal Button.
For this product for example :
https://www.goviralprime.com/product/buy-youtube-likes/
I want the 'Pay By credit card" button, match the paypal button below.
I haven't find anything in the customize menu of the template for that.
If anyone can help.
Regards
Hi there,
you can add this CSS:
.woocommerce div.product form.cart .button {
width: 100%;
}
If you want to mess with its color then you can do this instead:
.woocommerce div.product form.cart .button {
width: 100%;
background: #999;
color: #000;
}
/* Hover colors - adjust accordingly */
.woocommerce div.product form.cart .button:hover {
background: #999;
color: #000;
}
Wow, you're a genius
Glad to be of help