Search Highlighting

This forum is for all Flare issues related to the HTML5, WebHelp, WebHelp Plus, and Adobe Air Targets
Post Reply
Ineffable
Sr. Propeller Head
Posts: 148
Joined: Mon Jan 15, 2007 3:08 pm
Location: Bay Area, CA

Search Highlighting

Post by Ineffable »

By default, does search highlighting change the size and weight of the text that is highlighted?

When normal text in my WebHelp output is highlighted, it's simply bolded and highlighted. However, my H1 text, which is a few points bigger and red, get turned into normal text when highlighted. Remove the highlighting and the text goes back to normal.

What I mean by "by default" above is that I read the KB article about changing the format of the highlighted text, which involves making additions to the span tag. Isn't the highlighted text formatting controlled with the main stylesheet or WebHelp stylesheet? If so, where do I find the toggle?

Thanks!
scott
Propeller Head
Posts: 80
Joined: Tue Jan 03, 2006 6:35 pm
Location: miami
Contact:

Re: Search Highlighting

Post by scott »

Hi!
The kb article might be out of date. I think it's easier to import and use the "SearchHighlight" classes to format the search highlight styles.

To format the search highlight styles:
* Open your stylesheet.
* In the Stylesheet Editor toolbat, click Options and select Import Styles.
* Select the SearchHighlight stylesheet.
* Select the span.SearchHighlist 1-10 styles (these styles are used for each search word up to 10). You don't need to import the span tag.
* Click OK.
* Format span.SearchHighlight 1-10 as desired.

hope this helps,
.scott
Scott DeLoach
Certified Flare trainer/consultant - http://www.clickstart.net
* MadCap Flare: The Definitive Guide
* CSS to the Point
* HTML5 to the Point
https://bit.ly/2LQN11O

scott@clickstart.net
Certified MAD for Flare
Lucia
Propeller Head
Posts: 58
Joined: Mon Oct 27, 2008 6:22 am
Location: Blumenau SC Brazil

Re: Search Highlighting

Post by Lucia »

scott wrote: hope this helps,
It helped me either :)
Lucia
Ineffable
Sr. Propeller Head
Posts: 148
Joined: Mon Jan 15, 2007 3:08 pm
Location: Bay Area, CA

Re: Search Highlighting

Post by Ineffable »

scott wrote: hope this helps,
.scott
Awesome. Had no idea that feature was there!

Thanks a lot!
Post Reply