Archived topic
Payment methods setup on checkout page
3 replies · Started by _blank on January 12, 2021
Hi,
The Razorpay logo keeps on showing even when that payment method is not selected.
How can i make sure it doesn't show up when other payment method (Cash on Delivery) is selected.
Thanks in advance!
Hi there,
the Theme is responsible for the Checkout and its integrations, its controlled by Woocommerce.
However, i took a look at the site, and you can try this CSS:
#payment .payment_methods li.wc_payment_method>input#payment_method_razorpay:not(:checked) + label img {
display: none;
}
It should hide the image if its payment option is not selected.
Thanks, David, ended up removing the logo using this:
#add_payment_method #payment ul.payment_methods li img, .woocommerce-cart #payment ul.payment_methods li img, .woocommerce-checkout #payment ul.payment_methods li img {
display: none;
}
Glad to hear that!