JotForm is a free online form builder which helps you create online forms without writing a single line of code. No sign-up required.
We believe that if one user has a question, there could be more users who may have the same question. This is why many of our support forum threads are public and available to be searched and viewed. If you’d like help immediately, feel free to search for a similar question, or submit your question or concern.
Text color changes when clicking dropdownAsked by Returntool on February 12, 2016 at 05:30 AM
I have a dropdown where the Label text is in white, but when i push the dropdown it changes to black. When you select and option in the dropdown the label text changes back to white.
The text of the dropdown options need to be black otherwise the are not vissible against the white field background, but i think the problem has something to do with that.
I has been seen on
- Chrome 48.0.2564.103 (64-bit) for Mac
- Firefox 44.0.1 for Mac
- Safari for iPhone
I have not tested other browsers.
How can i solve this?
problem style size label
I'm not sure if I understood you right so I'll give you both options and hope that that is what you're looking for.
So if you want to have black letters of the options in the drop-down menu, and the label 'Business type' to be always white, you should put this in your CSS(#label14 is ID of the label 'Business type'):
color : white;
It will look like this:
On the other hand, if you would like to have that title 'Business type' always black, than you should put this in your CSS:
color : black;
Hope it helps, please let me know if you have more questions.