Hello!
It’s not difficult to integrate the Swiftype search function inside Webflow. Very easy actually! But I can’t seem to style the search field. Whatever I try, it will not take the custom styling. How should I do this? Please help!
The difference between the two is that both have the same ID (st-default-search-input), which I thought woudl be enough to recognize the Swiftype search field. However, it doesn’t. Only when I ue that name as the actual STYLE name, it is recognized. But when I use that and style the field, the styling is overruled by the default Swiftype styling (as shown in the first link).
The secret @rowan is to just add the widget as an embed HTML element (copied from Swiftype), and make sure that you have your classes correct in the html (don’t give the html widget a Webflow-class but instead inside the html Embed, you’ll give that the classes you styled with Webflow and then the styles will be applied). Let me know if you have any questions.
Hi Waldo; yes this is the embed code we get from Swiftype;
But it’s mentioning their needed class name. How would I use my own created class with that embed code for the search field?