How to hide / remove unwanted card iscons?
-
Hi there,
I’m trying to hide unwanted icons from the stripe checkout, as we don’t offer AMEX or JCB (no idea what this is).Can I just show VISA and MasterCard by the ‘Credit Card’ title, and in the Card number area?
The Credit Card icon css is ‘payment_method_stripe’ and is a single image with all four icons, is there an option to select alternative icons?
As a work around I’m using the following to hide all payment option icons:
.woocommerce-checkout #payment ul.payment_methods li img {
display: none;
}The Card number icon css is ‘.p-CardBrandIcons-item’, and there doesn’t seem to be a way to differentiate between them.
The workaround above doesn’t affect the Card number icons, and I can;t work out how to remove AMEX and JCB.
Thank you for your help!
- You must be logged in to reply to this topic.