Text color changes when clicking dropdown

  • Profile Image
    Asked 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?

  • Profile Image
    Answered on February 12, 2016 at 09:04 AM

    Hello there,

    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'):

    #label_14 {

        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:

    #label_14 {

        color : black;


    Hope it helps, please let me know if you have more questions.


    Best regards.