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

  • Profile Image
    swingoutloud
    Asked on February 18, 2017 at 07: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. 

  • Profile Image
    Jim_R
    Answered on February 18, 2017 at 09: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:

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

  • Profile Image
    swingoutloud
    Answered 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

  • Profile Image
    Jim_R
    Answered on February 18, 2017 at 10:49 AM

    Awesome! Glad that helped, enjoy your weekend! 😊