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 21, 2021

    Hmm, no I don't I'm afraid (I think when responsive was brought in I was using Flare). But when I said frames I also meant iframes, which are used in Responsive, but not Frameless. 

    Peter Grainge
    Community Expert
    Community Expert
    April 21, 2021

    @Amebr Thanks. In other skins the styling of skins and topics is kept separate. You may remember that early on with responsive skins the same problem arose. Hopefully Adobe can find a way of doing that with frameless skins. I have reported this to them.

    ________________________________________________________
    See www.grainge.org for free Authoring and RoboHelp Information

    Use the menu (bottom right) to mark the Best Answer or Highlight particularly useful replies. Found the answer elsewhere? Share it here.
    Community Expert
    April 21, 2021

    The styles inside the topic didn't used to apply, but with the change to Frameless they now do, because there are no frames preventing them being applied.

     

    As to the why the comment tags don't work, I think it's something historical from the days when styles were not universally accepted by browsers, which stopped them having hysterics about the style code. 

    Peter Grainge
    Community Expert
    Community Expert
    April 20, 2021

    Logically I can't see how commented out styles are affecting things but obviously they are. I'm glad Amber has found a solution for you.

    ________________________________________________________
    See www.grainge.org for free Authoring and RoboHelp Information

    Use the menu (bottom right) to mark the Best Answer or Highlight particularly useful replies. Found the answer elsewhere? Share it here.
    Dean5EA1Author
    Inspiring
    April 20, 2021

    Sorry for the delay in posting. I worked on Peter's suggestion and posted the result, then went to work on Amber's suggestion, which took a bit longer. Amber is correct, each of the pages the TOC is linked too code in it to change the link color.

    When I manually removed the code above from the linked page the colors stopped flipping.

     

    Thank you both for your help and suggestions.

    Peter Grainge
    Community Expert
    Community Expert
    April 20, 2021

    @Amebr Where I am not following your line is that topic styles should not affect the skin. Even if it could, isn't that styling commented out? Have I missed something in your thinking?

     

    I have asked @Dean5EA1 to send me the test project to me.

    ________________________________________________________
    See www.grainge.org for free Authoring and RoboHelp Information

    Use the menu (bottom right) to mark the Best Answer or Highlight particularly useful replies. Found the answer elsewhere? Share it here.
    Community Expert
    April 20, 2021

    You have to remove the style definition from all of your topics. That's what causing the colour problems. The code is in each individual topic.

    Peter Grainge
    Community Expert
    Community Expert
    April 19, 2021

    See the Contact page on my site and send the new project as instructed there. Do make sure you include a link to this thread and please do not email the project direct.

    ________________________________________________________
    See www.grainge.org for free Authoring and RoboHelp Information

    Use the menu (bottom right) to mark the Best Answer or Highlight particularly useful replies. Found the answer elsewhere? Share it here.
    Dean5EA1Author
    Inspiring
    April 19, 2021

    I created a new project, as recommended. I used the the stuido skin. I added a quick TOC and attached files to the TOC items. I get the same results.

     

    Here is when it first loads:

    I clicke on a different TOC item:

     

    Peter Grainge
    Community Expert
    Community Expert
    April 17, 2021

    You did select the new copy of the skin when you generated again didn't you? 🙂

     

    The reason I ask is I just created added the Studio skin to a project and this is what I see. No matter what I click in the TOC, the selected item is bold with a background and all other topics are as shown.

     

     

    If you did select the new skin, I think you next step is to create a new project with just one or two topics and see what happens there. Alternatively try it in the About RoboHelp sample project. You could also open the Compass Travel project as that uses the Studio skin but it may be a modified version.

    ________________________________________________________
    See www.grainge.org for free Authoring and RoboHelp Information

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