Skip to main content
Inspiring
October 30, 2023
Answered

RoboHelp 2022 doesn't show topic CSS styles after upgrade

  • October 30, 2023
  • 14 replies
  • 3045 views

I'm trying to upgrade to RoboHelp 2022. I am outputting a Word document and I map styles from my topic CSS file to Word styles. This worked fine in RoboHelp 2020. But in RoboHelp 2022, I no longer see the styles from my topic CSS file in the RoboHelp Style column, so I can't complete my mappings and the output document doesn't look like it should.

    This topic has been closed for replies.
    Correct answer Peter Grainge

    Adobe have confirmed there is a bug that will be fixed.

     

    The order that i have given you that is on my site is correct but the bug means the topic.css is being ignored no matter what the Exclude setting is. For now, copy your topic.css into content.css and choose the Use RoboHelp Style option.

    ________________________________________________________

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

     

    14 replies

    Peter Grainge
    Community Expert
    March 26, 2024

    I came across this bug again in another thread. Given that it does not appear to have been fixed, I have reported the bug myself via Tracker. It may well also be an internal bug but either way, it needs to be fixed. RH-12394 | Tracker (adobe.com)

     

    I have included a workround in the bug report.

    ________________________________________________________

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

     

    Help others by clicking Correct Answer if the question is answered. Found the answer elsewhere? Share it here. "Upvote" is for useful posts.
    Peter Grainge
    Peter GraingeCorrect answer
    Community Expert
    November 10, 2023

    Adobe have confirmed there is a bug that will be fixed.

     

    The order that i have given you that is on my site is correct but the bug means the topic.css is being ignored no matter what the Exclude setting is. For now, copy your topic.css into content.css and choose the Use RoboHelp Style option.

    ________________________________________________________

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

     

    Help others by clicking Correct Answer if the question is answered. Found the answer elsewhere? Share it here. "Upvote" is for useful posts.
    Inspiring
    November 14, 2023

    OK thanks. Thanks for verifying that bug. As I mentioned earlier in the thread, I was able to map the styles by modifying the content.css and things are working for now.

    Peter Grainge
    Community Expert
    November 8, 2023

    This is what I understood from Adobe and was signed off. It's in the About RoboHelp sample project.

     

     

    This is what I have just fed back to Adobe.

    ****************************************

    From what I can see, the topic CSS files work in the default layout but not in the Advanced template.

    If you add them to content.css in the Advanced template, then they show and can be mapped. However, they are working from content.css and not the topics. That was tested by changing p..blue in the content.css to a different font.

    Topic.css is simply not being taken into account.

    If I use Word Default in the mapping, that is from my Normal.dotx file as the colours are lost.

    ****************************************

    Please confirm that is exactly what you are seeing.

    I will be out most of tomorrow but I will update as best I can.

    ________________________________________________________

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

     

     

     

     

    Help others by clicking Correct Answer if the question is answered. Found the answer elsewhere? Share it here. "Upvote" is for useful posts.
    Peter Grainge
    Community Expert
    November 8, 2023

    I misread your post and thought you could not see the styles in the column that starts Use RoboHelp Style. I see the problem and it looks like classes are not showing. I have reached out to Adobe and will let you know what they come back with.

    ________________________________________________________

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

     

    Help others by clicking Correct Answer if the question is answered. Found the answer elsewhere? Share it here. "Upvote" is for useful posts.
    Peter Grainge
    Community Expert
    November 8, 2023

    I have been online with Adobe and this is what I am seeing with your sample project.

     

     

     

    When I generate to Word paragraphs with those two classes are correct, blue or green.

     

    Do you have the same settings?

    ________________________________________________________

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

     

    Help others by clicking Correct Answer if the question is answered. Found the answer elsewhere? Share it here. "Upvote" is for useful posts.
    Inspiring
    November 8, 2023

    I have the Advanced template selected (then close and reopen the preset). I cannot see the topic CSS styles if a templatte is selected.

     

     

    Peter Grainge
    Community Expert
    November 3, 2023

    Yes I realise you need to get the project working. My point was simply to see if the problem occurred in a new simple project with just a few topics. If it does, then it points to a general issue and I would be happy to test that to see if I can find a better solution. If it doesn't we know the issue is something specific to your project.

    ________________________________________________________

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

     

     

    Help others by clicking Correct Answer if the question is answered. Found the answer elsewhere? Share it here. "Upvote" is for useful posts.
    Inspiring
    November 3, 2023

    I went ahead and tried it in a new project. I am seeing the same thing. I have a style sheet (Custom.css) attached to the topics. It has a some custom styles. I made a template (Advanced). If I select that template in the output, I only see the styles from the Template's content.css listed in the mapping area . I don't see the new styles from Custom.css even though I have applied them to the topics and the Exclude all topic CSS files is off. I don't think cascading rules are being applied to the mapping area. There is definitely a refresh issue, so you need to close the output preset and then reopen to see the effect of the template on the mapping area.

    Peter Grainge
    Community Expert
    November 3, 2023

    Can you share the test project? If necessary change the topic content to garbage but use the styles, then see the Contact page on my site and send the project as instructed there. Do make sure you include a link to this thread and please do not email the project direct.

    ________________________________________________________

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

     

    Help others by clicking Correct Answer if the question is answered. Found the answer elsewhere? Share it here. "Upvote" is for useful posts.
    Peter Grainge
    Community Expert
    November 3, 2023

    Have you tried testing a new project with just a couple of new test topics? The last time I looked at this area it worked.

    ________________________________________________________

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

     

    Help others by clicking Correct Answer if the question is answered. Found the answer elsewhere? Share it here. "Upvote" is for useful posts.
    Inspiring
    November 3, 2023

    No I didn't. I need my project to work, so I didn't spend time creating a new one.

    Community Expert
    November 2, 2023

    Hmm, having to duplicate all your style names seems really inconvenient. I think I would  log an issue with Adobe for a future update.

     

    You can request features and report issues here: https://tracker.adobe.com/

    Post the item number in the discussion so people can easily vote if they want the same functionality.

    Inspiring
    November 3, 2023

    Yes, I think I will do that. I wasn't sure if it was a bug because I didn't know exactly how this feature is supposed to work. I didn't find thorough documentation on it. But given that there is a "Exclude all topic CSS files" setting and it's off, I would think it should be showing topic CSS styles.

    Peter Grainge
    Community Expert
    November 3, 2023

    With that setting off, the topic CSS definitions can be changed by on the other CSS files based on cascading rules.

    ________________________________________________________

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

     

    Help others by clicking Correct Answer if the question is answered. Found the answer elsewhere? Share it here. "Upvote" is for useful posts.
    Peter Grainge
    Community Expert
    October 31, 2023

    I just tested a simple 6 topic project with two folders and it help the styles using the Simple template and mapping H1 and P to using Word default.

     

    Can you set up a similar test so that we can see if this is, as I suspect, project specific?

    ________________________________________________________

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

     

    Help others by clicking Correct Answer if the question is answered. Found the answer elsewhere? Share it here. "Upvote" is for useful posts.
    Inspiring
    November 2, 2023

    I was able to get the mappings to work in my project by adding any styles that I wanted to be mapped to the "content" stylesheet in the Template. I just had to match the name. I didn't need to apply formatting in the content.css. Then, when the template was selected (and I re-opened the preset) the styles from the content.css would be available for mapping. It was a little extra work, but I will be able to re-use the content.css in other projects. I'm not sure whether my topic CSS styles should have been also showing up when the template was selected, but I couldn't get it to work like that, so I will use this workaround.

    I do think I was seeing some buggy behavior due to my "upgraded" templates, so I deleted them and started from scratch with a new template. Things seemed to work better after that (as long as my styles were in the content.css as I mentioned above).

    Anyway, thanks for your help. 

    Peter Grainge
    Community Expert
    October 31, 2023

    Templates in RoboHelp (rather than Word templates) only came in with 2022 so they could not be affected by 2020.

    ________________________________________________________

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

     

    Help others by clicking Correct Answer if the question is answered. Found the answer elsewhere? Share it here. "Upvote" is for useful posts.
    Inspiring
    October 31, 2023

    Some were created automatically by the upgrade. It must have used my presets and the master pages I had selected. I definitely see three templates that I did not create in RoboHelp 2022.

    Peter Grainge
    Community Expert
    October 31, 2023

    No template is selected  - This seems like a bug to me because I should be able to select a template.

     

    When you click that dropdown you should see at least Default and any templates you have created. Are you saying nothing is shown?

    ________________________________________________________

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

     

    Help others by clicking Correct Answer if the question is answered. Found the answer elsewhere? Share it here. "Upvote" is for useful posts.
    Inspiring
    October 31, 2023

    No, I see (Default), a new template "Test" that I created, and ones that were created by the upgrade. But if I select anything other than (Default), then it wipes out the mapping styles the next time I go back in to the output preset.

    alisonh1399482
    New Participant
    November 28, 2023

    I was having the same problem (no styles to map) after upgrading to RoboHelp 2022. I saw your suggestion of selecting the Default Template instead of the template(s) automatically created when the project is upgraded, and my style mappings didn't disappear!. My Word output looks great now.