You are here:  » Search Autocomplete


Search Autocomplete

Submitted by Tobix on Sun, 2021-09-12 17:31 in

Hi David,
I have installed the Search Autocomplete, you can take a look at {link saved}

I would like to complete the installation by adding:

1) maximum word limit because as you see the text goes off the site and looks awful
2) white background in the results offered by Search Autocomplete.

It's possible?
Thanks.

Submitted by support on Mon, 2021-09-13 08:33

Hi,

You can style the auto-complete drop-down via .ui-widget so for a white background and overflow hidden have a go with something like the following in html/default.css

.ui-widget {
  background-color: white !important;
  overflow: hidden !important;
}

(don't forget to do a hard refresh CTRL+F5 in your browser after modifying CSS to ensure that it is reloaded...)

Hope this helps!

Cheers,
David.
--
PriceTapestry.com

Submitted by Tobix on Mon, 2021-09-13 13:20

Perfect!
What about the length of the title instead?

Submitted by support on Tue, 2021-09-14 07:35

Hi,

Did overflow:hidden; not keep the results within the box?

I wanted to check whether you had added the mod to search.php to redirect to the product page if an autocomplete result was selected as limiting the word length would break that?

Cheers,
David.
--
PriceTapestry.com