Skip to main content
Inspiring
April 2, 2025
Question

Styles Are Applied When Published But Don't Show When Authoring

  • April 2, 2025
  • 4 replies
  • 1171 views

I just upgraded from 2019 to v2022.5.28. My project ugraded and published just fine in the new version but the style sheets are not being applied when I'm editing or creating new topics. The styles of these particular topics are internal styles and not external css documents. Again, the published manual applies the styles just fine but they don't display when authoring. It makes it very difficult. 

    4 replies

    Inspiring
    April 4, 2025

    It probably only works in authoring mode when using preview mode.

     

     

     

     

    But I doubt you'll like doing that continuously.

    The best way (long-term) is to convert these in-line styles to a common stylesheet. This should be relatively easy to script with some ChatGPT, especially if all in-line styles are uniform across all topics.

     

    Peter Grainge
    Community Expert
    Community Expert
    April 3, 2025

    Nothing should have changed then.

     

    Try removing this part in one topic but keep a copy in case. Does that fix the issue?

     

    ________________________________________________________

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

     

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

    Just tried it. Unfortunately, that didn't work.

    Peter Grainge
    Community Expert
    Community Expert
    April 3, 2025

    Also look in Topic Properties to see which CSS is applied.

     

     

    When you click in any paragraph, in the Style panel (click the S above) the style should be highlighted. If it isn't then as @Jeff_Coatsworth is suggesting, it is in the code but not the CSS.

    ________________________________________________________

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

     

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

    As I tried to explain in my second message, the topics are not linked to style sheets, they have styles embedded in the Head tag, then called as classes inline (see Snip2). I know it's not ideal but it's the way I inherited the manual.  I can see the styles applied when I do Quick Generate and Robohelp publishes the topics with the styles applied but it's as if the authoring view doesn't read them.  This only became an issue when I upgraded from 2019 to 2022.

    Peter Grainge
    Community Expert
    Community Expert
    April 3, 2025

    Apologies. So it is just Authoring view that is not working, correct?

     

    If that is the case, I am not surprised. It is not a proper browser but a tool to give you some idea. 

     

    When you say upgraded from 2019, do you mean Classic or the new UI?

    ________________________________________________________

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

     

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

    Let me make sure I'm using correct terminology. The styles (not style sheets) are not being applied in Robohelp. They are internal styles that are called inline as classes. I know the structure and syntax are correct because they apply just fine in the published version, this is just affecting what I see when I'm editing in the program.

     

    Jeff_Coatsworth
    Community Expert
    Community Expert
    April 2, 2025

    RH2019 Classic or New UI? Can you post a screenshot of what you're talking about?

    Inspiring
    April 2, 2025

    I'm running v2022.5.28. I'm not sure how to tell what UI I'm running. Here's a snip to show what I'm talking about. The top is what I see in Robohelp and below the line is what is published.