Skip to main content
Inspiring
Aug 20, 2026 10:22 PM UTC
Question

RH2022 wrong text color in table of contents

In RoboHelp 2022, I created a PDF (Prime option), but am getting blue text in the table of contents instead of black. Can’t find a place that controls text color in the PDF ToC.

Anyone?

Thanks,

Lon

    5 replies

    Peter Grainge
    Community Expert
    Community Expert
    Aug 21, 2026 4:31 PM UTC

    You could also create a test project with the same topic CSS and the same layout.css. What happens then?


    My site www.grainge.org includes many free Authoring and RoboHelp resources that may be of help.

    Translate
    Use the menu (bottom right) to mark the Best Answer or Highlight particularly useful replies. Found the answer elsewhere? Share it here.
    Peter Grainge
    Community Expert
    Community Expert
    Aug 21, 2026 4:30 PM UTC

    Any topic layout page involved? Shouldn’t impact as you have selected Exclude.

    Duplicate the template and in the duplicate change delete contents of the layout CSS. not the CSS itself. Still blue?


    My site www.grainge.org includes many free Authoring and RoboHelp resources that may be of help.

    Translate
    Use the menu (bottom right) to mark the Best Answer or Highlight particularly useful replies. Found the answer elsewhere? Share it here.
    Inspiring
    Aug 21, 2026 3:54 PM UTC

    Hi, Peter!

    Thanks for responding … I went through all the chaptoc levels, including chaptoc-body, all the toc levels, selecting Font Color black, selected the Exclude all topic CSS files…

    ...still blue text in the ToC...

    Translate
    Inspiring
    Aug 21, 2026 3:51 PM UTC

    Hi, Peter! 

    Thanks for responding. I went through toc.body, toc-levels 1-6, chaptoc-body and chaptoc-levels 1-6, selecting Font Color as black, checked the Exclude all topic CSS files…

    ...still blue in the ToC... 

    Translate
    Peter Grainge
    Community Expert
    Community Expert
    Aug 21, 2026 8:26 AM UTC

    Have you looked in the template layouts stylesheet?

     

    You should also try selecting this option in the output to make sure your topic CSS is not overriding things.


    My site www.grainge.org includes many free Authoring and RoboHelp resources that may be of help.

    Translate
    Use the menu (bottom right) to mark the Best Answer or Highlight particularly useful replies. Found the answer elsewhere? Share it here.