What do I need to do if, for example, I want to move the list a bit from a search query?
Add the following to your .css file.
.ui-autocomplete { margin-top: 35px !important; padding: 0px; }
If you want to change the style of individual elements, use .ui-menu-item as mentioned in Fran's answer.
If you want to change the style of the selected or hovering element in the list, you need to add the following to your .css file.
.ui-state-hover, .ui-widget-content .ui-state-hover, .ui-widget-header .ui-state-hover, .ui-state-focus, .ui-widget-content .ui-state-focus, .ui-widget-header .ui-state-focus { background-color: grey; background-image: none; padding: 0px; margin: 0px; border-radius: 0; }
Brant olsen
source share