This website uses cookies to personalize your experience. By using this website you agree to our cookie policy.

Reply To: Plugin not working properly on first load

Home Forums Product Support Forums Ajax Search Pro for WordPress Support Plugin not working properly on first load Reply To: Plugin not working properly on first load

#36110
Ernest MarcinkoErnest Marcinko
Keymaster

Hi,

There is no option for that, however you can do it via some simple custom CSS code. The original font color should be a dark grey, however some theme rules override that. You can restore the original color with this custom CSS:

/* Font color */
.asp_select2-results__option {
    color: #000;
}

If you want to change the backgrounds of the drop-down, and the hovered item background, you can do it with this:

/* Drop-down background */
span.asp_select2-container--open.asp_select2-container--open .asp_select2-dropdown--below,
span.asp_select2-container--open .asp_select2-dropdown--above {
    background: red;
}

/* Drop-down hovered item background */
span.asp_select2-container--flat .asp_select2-results__option--highlighted[aria-selected] {
    background: blue !important;
}