Change background color of dropdown list

0 favourites
  • 3 posts
From the Asset Store
Color all tiles with the same color in 22 moves or less!
  • Hi,

    Does anybody know how to change the white background color of the dropdown list object? I managed to do the rest with CSS, just not the dropdown.

    Someone said you do it with Javascript, but it didn't work.

    Please see photo attached.

    Thanks!

    Regards,

    Edgar

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • CSS works fine with dropdown objects. Here are some that I use to style mine...

    List: Set CSS style "background-color" to "black"
    List: Set CSS style "color" to "#e3ca47"
    List: Set CSS style "border-color" to "#bf9f22"
    List: Set CSS style "border-radius" to "5px"
    
  • CSS works fine with dropdown objects. Here are some that I use to style mine...

    > List: Set CSS style "background-color" to "black"
    List: Set CSS style "color" to "#e3ca47"
    List: Set CSS style "border-color" to "#bf9f22"
    List: Set CSS style "border-radius" to "5px"
    

    Thanks for the reply.

    It works now, I had to remove transparency at the end of the color code. I was using: Set CSS style "background-color" to "rgba(49, 61, 52, 0.10)", with the 0.10 at the end. The list was fine but when I opened the dropdown it was white.

    Thanks!

    Regards,

    Edgar

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)