Turn off word highlighting in search

This forum is for all Flare issues related to the HTML5, WebHelp, WebHelp Plus, and Adobe Air Targets
Post Reply
aharper12
Propeller Head
Posts: 29
Joined: Wed May 01, 2019 12:13 pm

Turn off word highlighting in search

Post by aharper12 »

Hi everyone,

We are using HTML5 outputs in Flare, and one of our stakeholders does not like that when you search, Flare 'highlights' the word(s) you search for and opens any accordion sections in corresponding articles to show that searched-for term.

Is there a way to turn either of these features off? Right now, we are looking at just making the highlight transparent so it seems like it is turned off.. are there any other alternatives?

TIA!
Adriana
Chicago_HPT
Sr. Propeller Head
Posts: 133
Joined: Sun Feb 03, 2013 6:01 pm

Re: Turn off word highlighting in search

Post by Chicago_HPT »

It sounds like you're using HTML5 Tripane output, which has default colors to highlight search results. In the HTML5 Tripane output, you can set this value in the skin editor, with the Search Highlight style under the Search Results section.

HTML5 top-nav and side-nav are different. Result terms are not highlighted by default but you can set them to be. In HTML5 top-nav and side-nav output, you can set this value in the CSS for the first 10 different search terms, for each term found in a single search. You'll find the values in the CSS Editor, under the span tag (as SearchHighlight and SearchHighlight1-9).

For details, check out Flare's online help: Customizing the Highlight Color for Search Hits.

I hope that helps,
-jeff
aharper12
Propeller Head
Posts: 29
Joined: Wed May 01, 2019 12:13 pm

Re: Turn off word highlighting in search

Post by aharper12 »

Yes! Thank you Jeff, that helps.

Do you know if there is a way to change HOW Flare chooses words to highlight.... For example, I would think it should be possible to highlight only partial words when the search terms has more than X characters... ?
Also - do you know how we can remove the icon from the skin, now, that shows the ability to turn highlight on/off, since we have made it transparent?

Thanks!
Adriana
doloremipsum
Sr. Propeller Head
Posts: 290
Joined: Mon Aug 26, 2019 2:11 pm

Re: Turn off word highlighting in search

Post by doloremipsum »

Also - do you know how we can remove the icon from the skin, now, that shows the ability to turn highlight on/off, since we have made it transparent?
Topic Toolbar tab in the Skins Editor.
in hoc foro dolorem ipsum amamus, consectimur, adipisci volumus.
Post Reply