hi daryl,

this code fragment is generated from:

<prop key="compass.engine.highlighter.default.formatter.simple.pre"><! [CDATA[<span class="searchHighlightedText" style="font- weight:bold;font-size:larger;background:#FF00FF">]]></prop>

in the file: WEB-INF/etc/spring/applicationcontext-compass.xml



joe pillot
jahia.com

Le 12 févr. 07 à 18:52, Daryl Gerlach a écrit :

I'm using the Jahia 5.0.1 built in search. How do I change the highlight color (background) from #FF00FF? I see from the generated code that a style is explicitly set on the tag, therefore I can't over-ride in my own css. What generates the span tag in the following search result HTML snippet:

<span class="searchHighlightedText" style="font-weight:bold;font- size:larger;background:#FF00FF">rooms</span>

Reply via email to