I can’t see the text colour on the white Stripe payment box as it’s white, how do I change the text colour?
Also, how do I change the placeholder text in the Credit Card, Exp Date and CVC text fields so it’s more visible?
This topic has 6 replies, 4 voices, and was last updated 1 month, 1 week ago ago by Tony Rodriguez
I can’t see the text colour on the white Stripe payment box as it’s white, how do I change the text colour?
Also, how do I change the placeholder text in the Credit Card, Exp Date and CVC text fields so it’s more visible?
Hello,
The Stripe payment form’s HTML code is loaded within an iframe, so you will need to use custom PHP code to modify the placeholder text color. Please refer to the following solution for guidance: https://wordpress.org/support/topic/change-credit-card-placeholder-styling/
Best regards,
8Theme Team
Okay, sure.
Is there any way to change label colours because the text is white, on a white background so you can’t see it. Alternatively, is there a way where I can change the Stripe payment background to a darker colour instead of white?
Screenshot attached – I’ve highlighted the text so you can see it.
Hello @nmble,
The payment form generated by our Stripe extension and displayed on the checkout page is hosted on a separate PCI-compliant server. Therefore, applying custom CSS styles directly to the payment form will not have the desired effect.
To adjust the appearance of the payment fields, you will need to add custom PHP code to your theme’s functions.php file or use a plugin such as Code Snippets.
You can find more information here: https://woocommerce.com/document/stripe/customization/style-payment-form/
If you require our assistance, please feel free to contact us.
Best regards,
Jack Richardson
The 8Theme’s Team
Thanks for the support! My topic “How do I change the colour of the Stripe payment box?” has been successfully resolved.
Dear nmble,
It’s great having you in our WordPress & WooCommerce community!
Every insight you share helps us refine XStore and build tools that empower thousands of online store owners worldwide.
Leave Feedback →
(takes less than a minute)
Together, we grow stronger with every release.
Topic closed.
The 8Theme Team
The issue related to '‘How do I change the colour of the Stripe payment box?’' has been successfully resolved, and the topic is now closed for further responses