Change highlight style

How can I change the highlight style. In my site, highlight word are only in em and I want to add a background color. (with instantsearch.js)
Thanks for your help.


Hey Duy,

From what I remember on using React InstantSearch, you should be able to style your highlighted result with the selector .ais-Highlight__highlighted. If the class is not here, then wrap your hits with a container and apply a classe, then go for a .hit-wrapper em selector to match the highlighted part.
Does that help?