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 4 replies, 3 voices, and was last updated 9 hours, 34 minutes ago ago by Jack Richardson
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
You must be logged in to reply to this topic.Log in/Sign up