How can I change the font colour of a date selection question?

  • swingoutloud
    Asked on February 18, 2017 at 7:03 AM

    Hi everyone!

     

    So I made a form for on my website, and everything works fine, except that for some reason one of the questions, namely the 'Date of Birth' question, has a white font instead of black, just like the other questions. 

    Does someone know how to fix this?

     

    Thanks a lot in advance!

    Nynke

     

    p.s. I know that my form is not really easy to read, this is so I can have it transparent on my website even though it is quite impossible to read on jotform, my apologies for that. 

  • Support_Management Jotform Support
    Replied on February 18, 2017 at 9:54 AM

    Hello Nynke, I'm assuming the headers, labels and sublabels were intended to be white. What you're describing are the texts inside the Date Of Birth field, correct?

    If so, the font color of the DOB field is actually black, it's just not seen due to the padding of the textbox. To fix it, try inserting the following CSS Codes:

    #day_3, #month_3, #year_3 {

        padding: 5px;

    }

    RESULT:

    How can I change the font colour of a date selection question? Image 1 Screenshot 20

    Related guide: How-to-Inject-Custom-CSS-Codes 

  • swingoutloud
    Replied on February 18, 2017 at 10:47 AM

    Hello Jim!

     

    I was indeed describing the text inside the DOB field, thank you this totally solved my problem!

     

    Best,

    Nynke

  • Support_Management Jotform Support
    Replied on February 18, 2017 at 10:49 AM

    Awesome! Glad that helped, enjoy your weekend! 😊