Copy link to clipboard
Copied
I've been asked by a client if we can show the same font in the search results that we use for the Contents TOC - Trebuchet 10. I can't find it in the skin settings. Can anyone help?
Thanks...
Copy link to clipboard
Copied
I think you can by adding a CSS class to two of the webhelp output files. The disadvantage is that you'd have to remember to do this every time you generate your output. This post on Willam's site has more details:
http://www.wvanweelden.eu/blog/2012/08/01/change-webhelp-search-pane-highlighting
Copy link to clipboard
Copied
As Column, mentioned, you must do this in the output files as far as I know.
Go to whfform.htm <http://www.wvanweelden.eu/output_file/robohelp-9-and-earlier-webhelp/whfformhtm> and change the lines
setFont("Normal", "Tahoma","8pt","Black","Normal","Normal","none");
setFont("Error", "Tahoma","8pt","Black","Normal","Normal","none");
setFont("Hover", "Tahoma","8pt","Gray","Normal","Normal","underline");
I believe this will change the search result fonts.
Note: You need to save the modified whfform.htm and paste it in your output after every generation.
Greet,
Willam
Copy link to clipboard
Copied
Great. Thank you both!