This topic is locked

styling a dropdown list

12/10/2023 5:11:08 AM
PHPRunner General questions
francesco author

I'm trying to change the style of result list that apperar when I start to write, I tried this without result:

.chosen-container .chosen-results li {
background-color: #f0f0f0; / Background color /
color: #333; / Text color /
}

Can someone help me, thanks?

francesco author 12/10/2023

I forgot to say that the dropdown I'm trying to style with css is ajax driven, so the content of the dropdown might be loaded or modified dynamically after the initial page load