What's the CSS code to change dropdown list background color?

  • Profile Image
    kayemac
    Asked on January 24, 2017 at 05:33 AM

    Hi guys! Can you please hep me?

    https://www.screencast.com/t/hPGGafj3

    It's not readable. Can you make the text black then the background white?

     

    One more thing, every time I go to the advanced Designer, I lose my background image. Why is that? This form is embedded on our website and it makes me nervous to make changes on the design. So I just X out of it.

     

    https://www.screencast.com/t/AYjbqZnt

  • Profile Image
    Charlie
    Answered on January 24, 2017 at 05:56 AM

    You can add this custom CSS code:

    select > option {

        background-color: white !important;

        color: black !important;

    }

     

    I also advised that you correct or fix any errors on your current CSS code, I see there's one error on it. You can see the error if you open the Form Designer Tool itself. 

     

    For the other concern regarding the background image, I have opened a separate thread for it. Please refer to this link instead: https://www.jotform.com/answers/1044269 

    Thank you.

  • Profile Image
    kayemac
    Answered on January 24, 2017 at 08:22 AM

    Thanks! It worked! :)