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

Autocomplete font color

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #21190
    FichtenelchFichtenelch
    Participant

    Hello Ajax Search Pro-Support,

    I wanted to increase the contrast of my autocomplete suggestions when typing a search term. Since I didn’t find a GUI-setting for this, I tried to change the autocomplete font color by adding a short custom CSS code like this:

    input.autocomplete {
        color: #000000 !important;
    }

    However, that didn’t nothing.

    Any suggestions here would be greatly appreciated.

    Kind regards,
    Christian

    #21192
    Ernest MarcinkoErnest Marcinko
    Keymaster

    Hi Christian,

    Indeed, there is no option to change that on the back-end, the autcomplete box opacity is hard coded. Your custom CSS is almost perfect, all you need to add is also changing the opacity:

    input.autocomplete {
        color: #000000 !important;
        opacity: 0.6 !important;
    }

    I hope this helps!

    #21206
    FichtenelchFichtenelch
    Participant

    Hi Ernest,

    perfect! Thanks for the quick response – the opacity setting did the trick. Therefore, this ticket can be closed as ‘solved’.

    Kind regards,
    Christian

    #21207
    Ernest MarcinkoErnest Marcinko
    Keymaster

    You cannot access this content.

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘Autocomplete font color’ is closed to new replies.