Autocomplete Bar / Position - Left / Right
Position - Left / Right
The autocomplete widget results list is absolute positioned left to the search bar by default. Most shops have their autocomplete bar at the top right of the page. If you would like your autocomplete search bar at the top right, you will need to change the position below to 'right'
so that the results do not disappear off the edge of the page.
SX Type | Field | Subfields | Allowed Values |
---|---|---|---|
autocomplete |
display |
position |
left (default) , right |
~CE
<script>
window.sx_autocomplete = {
options: {
display: {
position: 'right'
}
}
}
</script>