Hi there!
Thank you for contacting us! 🙂
I understand you want to change the background of payment method box.
The CSS you are using is correct however I see the CSS code before you added this snippet is broken:
I’d suggest fixing that so the CSS code above works for the payment method box.
I suggest checking https://www.w3schools.com/css/default.asp for help with CSS syntax.
I hope this helps!
Hey @kaushiksomaiya,
I have tried to remove all this code you mark me, because i dont need it,
but the this code for changing payment box style is still not working. Can you help me.
Filip
Hi there,
Thanks for getting back to us.
Can you please try to replace the previous code with the following one:
#add_payment_method #payment div.payment_box,
.woocommerce-cart #payment div.payment_box, .woocommerce-checkout #payment div.payment_box
{
font-size: .93em !important;
background-color: #263846 !important;
color: #ffffff !important;
}
Let me know how it goes!
Best,
It works.
Thank you very much!
Glad to hear that.
If you have a few minutes, we’d love it if you could share your experience with the community by leaving a review: https://wordpress.org/support/plugin/woocommerce/reviews/
Best.