Re: Changing search results highlight (background) color

"dominique (joe) pillot" <[email protected]>
Newsgroups gmane.comp.cms.jahia.template
Message-ID <[email protected]>
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>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.