Skip to main content
Inspiring
Nov 14, 2016 12:40 AM UTC
Question

RoboHelp 2015 styles not appearing in generated output

Hi

I have imported  a FM book into RH2015 and mapped FM styles to HTML styles. The text is correctly styled in the RH editor window, but when I generate WebHelp (both varieties), the output is not styled accordingly.

When I look at the raw HTML, I can see that the text in question is wrapped correctly. For example, <span class="FM_bold">Status</span> ) is in the code, but the wrapped text does not get bolded. It seems as if the CSS is not being read, even though it is correctly referenced in the meta-tags.

Any help?

Thanks

Geoffrey Marnell

This topic is closed to new replies. Start a new post to keep the conversation going.

3 replies

Jeff_Coatsworth
Community Expert
Community Expert
Nov 14, 2016 2:47 PM UTC

Have you checked if (a) the FM_Bold style is defined in your CSS & (b) is that CSS being applied to the output?

Translate
Inspiring
Nov 14, 2016 10:44 PM UTC

Thanks Jeff. Yes, the style is defined in the CSS, but it appears that the CSS referred to in the meta-tags is not being read when the page is rendered.

I eventually pointed all the topic sin my project to RHMapping.css and the changes I made to RHMapping.css were rendered in the browser. RHMapping.css seems to be overriding the CSS explicitly mentioned in the meta-tags (the CSS I was modifying without affect).

Translate
Jeff_Coatsworth
Community Expert
Community Expert
Nov 15, 2016 8:40 PM UTC

You can have 1 CSS applied to all topics of your output when you set up the Single Source Layout (SSL) recipe, but there was a bug in RH11 that caused the output topics to have 2 lines referring to 2 different CSS files (& the default one was applied 2nd, so it won out in the output's appearance). I don't have a copy of RH2015 to confirm that it's been fixed.

Translate