How to change the font color inside the name field in Stripe credit card field?

  • Cellofest
    Asked on January 22, 2020 at 7:12 PM

    Hi, 

    The stripe card detail field has a different colour font to the rest of my form. Strangely it's only for the name field.  Is there a way to change this with css code?


    Thanks!1579738321The Easiest Online Form Builde Screenshot 10

    Jotform Thread 2128332 Screenshot
  • Girish JotForm Support
    Replied on January 22, 2020 at 9:16 PM

    If you are referring to the form "93183523023349", I can see the credit card name field differently from my end:

    15797457372301 6 Screenshot 10

    I am see the data with a blue background. Could you confirm if we are checking the same form?

  • Cellofest
    Replied on January 23, 2020 at 5:39 AM

    Yes it's the same form - very strange because we tested it on 3 different devices and in different browsers and it looks like my photo in all!

  • Kiran Support Team Lead
    Replied on January 23, 2020 at 6:55 AM

    Please add the following CSS code to the form to change the color of text of Name field in the Stripe field.

    .stripe-payment-wrapper .form-textbox.cc_firstName, .stripe-payment-wrapper .form-textbox.cc_lastName {

    color: #f3f3f3 !important;

    }

    Thanks!

  • Cellofest
    Replied on January 23, 2020 at 7:13 AM

    Thanks, I've tried that css code but it still seems to be black font for the name field?? 

  • Ivaylo JotForm Support
    Replied on January 23, 2020 at 8:17 AM

    I will further test and contact you later today.

  • Ivaylo JotForm Support
    Replied on January 23, 2020 at 11:52 AM

    I have adjusted your CSS code and fixed your form. Please check it again.

    It looks like this:

    1579797681chrome GkdPUWDngj Screenshot 10

    Let us know if you need any further assistance.

  • Cellofest
    Replied on January 24, 2020 at 5:47 AM

    How absolutely brilliant! Thanks so much for your help!