Hi @criswoofi
- Yes, it is possible to change the express checkout payment buttons using CSS.
.wc-stripe-banner-checkout ul.wc_stripe_checkout_banner_gateways{
display: flex;
align-items: center;
justify-content: center;
}
.wc-stripe-banner-checkout ul.wc_stripe_checkout_banner_gateways li{
margin: 10px !important;
width: 100% !important;
}
.wc-stripe-banner-checkout ul.wc_stripe_checkout_banner_gateways li.banner_payment_method_ppcp{
font-size: 0px;
}
wc-stripe-banner-checkout ul.wc_stripe_checkout_banner_gateways li button{
width: 100% !important;
min-width: 100% !important;
}
2. This CSS will expand the button
.woocommerce-checkout-payment .apple-pay-button {
max-width: !100%;
}
Kind Regards
Hi! Thank you for your quick response.
1. The CSS code does not work correctly on a mobile device, I attach screenshot.
https://ibb.co/PmWjPcD
2. It doesn’t work, it doesn’t fully expand the button,I attach screenshot.
Mobile: https://ibb.co/F8sLyxf
Desktop: https://ibb.co/9sfhkVH
3.Could be possible to change the font and style of the title “Xpress Payment”
Thanks!
The CSS code does not work correctly on a mobile device, I attach screenshot.
I’ve given you the general template for what CSS you need. You can put the finishing touches on what you need to suite your website.
It doesn’t work, it doesn’t fully expand the button,I attach screenshot.
It worked when I added it to your site. Try this:
@supports (-webkit-appearance: -apple-pay-button) {
.woocommerce-checkout-payment .apple-pay-button {
max-width: 100% !important;
}
}
Kind Regards
-
This reply was modified 2 years, 10 months ago by
Clayton R.
Thanks for your help! Works perfect!