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

  • kayemac
    Asked on January 24, 2017 at 5: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

  • Charlie
    Replied on January 24, 2017 at 5: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. 

    Whats the CSS code to change dropdown list background color? Image 1 Screenshot 20

     

    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.

  • kayemac
    Replied on January 24, 2017 at 8:22 AM

    Thanks! It worked! :)