How to change background-color option in bootstrap-select?

Cooxkie picture Cooxkie · Sep 23, 2016 · Viewed 27.7k times · Source

I'm using bootstrap-select (from Silvio Moreto). I would like to change background-color and font color of list item. By default is :

enter image description here

And I would like something like :

enter image description here

I tried this, but nothing change :

.bootstrap-select.btn-group .dropdown-menu li:hover{
      background-color: rgb(191, 82, 121);
      color: white;
}

Any idea ?

Answer

Cooxkie picture Cooxkie · Sep 23, 2016

I answered my own question :

 .bootstrap-select.btn-group .dropdown-menu li a:hover {
     color: whitesmoke !important;
     background: #bf5279 !important;
 }

Thanks ;-) !