Skip to main content
Inspiring
April 5, 2021
Answered

Table of contents hyperlink color

  • April 5, 2021
  • 21 replies
  • 1462 views

Format: Frameless
Version: RH 2020 update 4

I am not able to locate where I can adjust the table of contents (TOC) in the left panel of the topic page. Specifically, when I click the topic heading (hyperlink) in the TOC the link changes color. I cannot find where I can just the “on-click” color change to select the color I want. Does anyone have any insight on where I can find this?

    This topic has been closed for replies.
    Correct answer Amebr

    The topic code you posted usually indicates the content was imported from Word documents. It hasn't typically affected the toc colouring in past versions, but perhaps that's changed with the new Frameless output? 

     

    In two or three topics in Robohelp, switch to code view and look for that code and delete it. You might find it appears in the topic as <body link="xxxxx" vlink="xxxx"> - just delete the link and vlink text, rather than the whole tag.

     

    Generate and see if switching between those topics now shows the toc items the correct colours. If yes, you should be able to do a search and replace on the code to remove it.

    21 replies

    Community Expert
    April 6, 2021

    I don't have RH2020 available right at the moment, but for RH2019 New UI, the selected toc entries use the colour you set under Layout > General > Theme Color.

     

    If you can't find a separate entry in the skin (probably somewhere in Topic Page > Left Panel, depending on what additions have been made in RH2020) then you may need to inspect the output to figure out what css controls the colour, and create a special css which you add to the User Assets section.

    Dean5EA1Author
    Inspiring
    April 7, 2021

    I thought so as well. I cannot find anything in the TOPIC/Left Panel, which directs the hyperlink color in the TOC. The “selected-title” option does direct the font color, which I have set to back (#000000); however. It appears the hyperlink style from the CSS is taking over. I do not want to change the color in all of the hyperlinks in the document; I only want to control the ones in the TOC.