Change autocomplete background


How can I change the autocomplete dropdown background color or other css styles??

Thanks to all!

You can override the CSS variables, which you can find in the autocomplete documentation:

Thank hoy @Tim !
I dont know how to override these variables.
Could you show me a small example?
Thanks again!

You can put something like this in your css:

:root {
  --f7-autocomplete-dropdown-bg-color: #ff0000;
1 Like

Thank you!! I’ll try It…