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!
Search Highlighting
Re: Search Highlighting
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
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
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
Re: Search Highlighting
Awesome. Had no idea that feature was there!scott wrote: hope this helps,
.scott
Thanks a lot!