Showing results for 
Search instead for 
Did you mean: 

Paypal Smart button - JS SDK - Change text color in credit card form

Posted on

Hi there,


I would like to know how I can change the text color in the credit card form (the grey credit or debit card button below the gold one), if possible. My website has a dark theme and the text in the form is dark grey, which make it almost impossible to read, as shown in the screenshot below:




Can it be modified? I've been searching through much documentation but found nothing useful. I've found the style-guide ( and read the paypal.HostedFields.render method section, but I have absolutely no clue how to implement it.


Thanks in advance

Haven't Found your Answer?

It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.