Skip to main content
Inspiring
January 22, 2018
Answered

Formatting and label for "Show" navigation link in WebHelp called through context ID

  • January 22, 2018
  • 1 reply
  • 1021 views

Hi,

I am creating a CHM by generating WebHelp and then using the WebHelp to CHM feature. My context sensitive calls to a specific topic are working fine, but I do not like the appearance of the Show link that appears at the top of the page when the help is opened via a context call. I would like to change this to "Show Contents" or "Help Contents" and I want to change the font. I am using Arial in my help project but the Show links seems to be Times New Roman and I can't see a way to change this. Any help would be appreciated.

Thanks,

Joy

This topic has been closed for replies.
Correct answer Amebr

I just looked at this again and think I have figured out what is going on. You were right, both that it was using the hyperlink class "whtbtnshow" and that it was using the default IE font (Times New Roman). I think because my Normal font was Arial and the whtbtnshow font was Arial, it was ignoring the font when it converted from WebHelp to CHM, and, therefore, was displaying the default IE font instead. (It did pay attention to the size of the whtbtnshow.) My solution was to change the font of whtbtnshow to something other than Arial, but something that matches Arial better than Times New Roman. This isn't perfect, but will work for me. Thanks for your help!


Ah, mysteries.

I did some more digging. The Show/Hide text won't pick up your Normal style as the text it isn't wrapped in a p tag, which is what Robohelp "normal" is.

The only time I can reproduce what you see is when I don't have a font specifically defined for both the body tag and .whtbtnshow class, or I have Times New Roman set on the table tag.

I'm not sure if that helps you, but it's some more information for someone in future.

Oh, and for those who aren't comfortable with editing the css file, the body tag can be found in the Styles dialog box under Other > Background + Text (BODY).

1 reply

Jeff_Coatsworth
Community Expert
Community Expert
January 22, 2018

Go through the Project Settings to find the Language tab - find the section that has your wording and change it there; or, find your project's .LNG file and edit it in a text editor outside of RH.

Inspiring
January 22, 2018

Thank you. I was able to change the label. Is there a way to change the formatting? I would like to at least change it from Times font to Arial.

Jeff_Coatsworth
Community Expert
Community Expert
January 22, 2018

Not that I recall - it would have to be done in the javascript I suspect - maybe in the css.