Re: Changing search results highlight (background) color
"Benjamin Papez" <[email protected]>
| Newsgroups | gmane.comp.cms.jahia.template |
|---|---|
| Message-ID | <[email protected]> |
Hello Daryl, you can change that in WEB-INF\etc\spring\applicationcontext-compass.xml in this line <prop key="compass.engine.highlighter.default.formatter.simple.pre"><![CDATA[<span class="searchHighlightedText" style="font-weight:bold;font-size:larger;background:#FF00FF">]]></prop> Bye, Benjamin 2007/2/12, Daryl Gerlach <[email protected]>: > > 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> > >