Home › Forums › Product Support Forums › Ajax Search Pro for WordPress Support › Dropdown text disappeared › Reply To: Dropdown text disappeared
June 20, 2022 at 8:32 am
#38092
Keymaster
Hi,
It may have been just a cache related issue.
The only way to customize the colors is by custom CSS:
/* The container selection */
.asp_select2.asp_select2-container .selection .asp_select2-selection,
.asp_s span.asp_select2-container--flat ul li.asp_select2-selection__choice,
.asp_sb span.asp_select2-container--flat ul li.asp_select2-selection__choice {
color: white;
background-color: #ff7272 !important;
border: 1px solid #ff7272 !important;
}
/* Drop down general */
span.asp_select2-container--open .asp_select2-dropdown--below,
span.asp_select2-container--open .asp_select2-dropdown--above {
background: #9c6a6a;
color:#fff;
}
/* Drop down selected values */
span.asp_select2-container--flat .asp_select2-results__option[aria-selected=true] {
background: #b34949;
color: #fff;
}
/* Drop down hovered selection */
span.asp_select2-container--flat .asp_select2-results__option--highlighted[aria-selected] {
background: #dc3737 !important;
color: #fff;
}
I hope this helps!