Skip to main content
authorinkltd
Participating Frequently
September 21, 2014
Question

Changing the font of TOC entries in Responsive Help

  • September 21, 2014
  • 1 reply
  • 728 views

I'm just starting to find my way with Responsive help and am creating a project where a non-standard font needs to be used. This is fine in topics - I provide a link to the font in every page and it works great. But try as I might, I can't fathom how to change the font of entries within the table of contents.

Bumbling about so far, I've found the Table of Contents.slp file and put the same link to the font in the header there (<link rel="stylesheet" type="text/css" href="http://fonts.googleapis.com/css?family=PT+Sans" />) - I then customised my layout to specify the font name (PT Sans) for the TOC Desktop, but this seems to have no effect at all: when I generate the help, the TOC renders in what looks to be a default Times font.

I'm really just guessing at this stage so if anyone can point me in a slightly more considered direction, I'd be really grateful!

Thanks

Claire

This topic has been closed for replies.

1 reply

Peter Grainge
Community Expert
Community Expert
September 21, 2014

I trust you are well Claire.

Try right clicking the layout name in Project Setup and then clicking Edit. Look under Global.


See www.grainge.org for RoboHelp and Authoring tips

@petergrainge

Use the menu (bottom right) to mark the Best Answer or Highlight particularly useful replies. Found the answer elsewhere? Share it here.
authorinkltd
Participating Frequently
September 21, 2014

Hello Peter - I'm really well thanks - and thanks so much for your suggestion :-)

I had indeed overlooked the Global settings but alas even this doesn't solve the problem. A little further checking tells me that font settings for the TOC Desktop take precedence over Global settings; I've proved that I can change the colour and specify another standard font here, which makes me think I must be missing a trick about linking to the non-standard font.

I'll keep digging - it's certainly helping me find my way around all this shiny new stuff!

Thanks again

Claire

authorinkltd
Participating Frequently
September 22, 2014

I don't believe RH will pick up a non standard font anyway, not in the editor and also not in the HTML5 editor. The best way to go forward is to manually update the CSS with the font name to use. If you search for 'font-family', you'll find about 5 settings that you must change manually.

Kind regards,

Willam


Thanks for the advice Willam - it's worked a treat :-)

Claire