-
OSUREN
How can I space the PayPal button further away from the “GPAY” box?
How can I change the color of the PayPal box to #000000, as of now it’s a charcoal black.
-
Alvind
Hi there,
You can try using this CSS to add space below the PayPal button:
ul.wc_stripe_product_payment_methods li.payment_method_ppcp { margin-bottom: 1.5rem; }
However, the button color cannot be changed because it is loaded from an iframe. You will need to check the settings in the plugin you are using to add the PayPal button to see if there is an option to change the color.
-
OSUREN
It’s working on the product pages, but not on the cart page… I tried this code to get it working on the cart pages but it’s not working…
body.woocommerce-cart ul.wc_stripe_product_payment_methods li.payment_method_ppcp,
body.single-product ul.wc_stripe_product_payment_methods li.payment_method_ppcp {
margin-bottom: 1rem !important;
} -
Alvind
For the cart page, try this CSS:
ul.wc_stripe_cart_payment_methods li.payment_method_ppcp { margin-bottom: 1.5rem; }
-
OSUREN
Thank you so very much again Alvind, y’all are a big help seriously appreciate everything you do. Have a wonderful day!
-
Alvind
You’re welcome, glad to be of help!
- You must be logged in to reply to this topic.