Skip to main content
Inspiring
January 28, 2015
Answered

Normal Style not displaying

  • January 28, 2015
  • 1 reply
  • 611 views

RH 11.0.4.

I have been using RH since 4.0 and am currently I have a RoboHelp HTML project where I am using two different style sheets. Each style sheet is associated with its own Master Page. I've done this because my client wants to eventually migrate to a new look. The 'Normal' style in both instances is mapped to a different font. I have ensured that the style sheet is attached and that all content is in the appropriate style. There is no issue with the first style sheet (and Master Page) I created. The 'new look' Master Page and Style Sheet have had random display issues with the Normal style; occasions where part of the topic displays or all content is not displaying.This is the case if I select View Selected Item from within the project and view the topic after compiling WebHelp.

I have created new Master Pages and re-assigned styles. One symptom that may help shed insight on to what is going on . . . is that when I edit a topic with the 'new look' stylesheet / Master Page and click Save All, the Headers and Footers message appears . . . This topic was created from a Master Page and the Header and Footer has been modified . . . The Master Pages have the same structure; just different font and heading styles. I have tried all I know to fix this issue. Any insight would be great. I can provide screen shots, if necessary. Thank you.

------------------------found issue-----------------------------------

Project has 2 different stylesheets (because customer wants to move to a standard template). Each stylesheet is associated with a different Master Page.

Style 'Normal' in Stylesheet #1 = Verdana; Style 'Normal' in Stylesheet #2 = Calibri.

When WebHelp is generated, any content using Stylesheet #2 and styled with 'Normal' does not appear. This issue is only in the body region of the document. I created a separate style for 'Normal' called "Normaltest.' No success.

To make the content appear, here is what I did:

1. Open the topic with issue.

2. Highlight a paragraph

3. Select Style: none

4. Change font to Calibri (font size was default to 12; which is what I needed so I didn't change)

It made no difference if I defined 'none,' in the Master Page file and changed the font to Calibri. I have confirmed that the issue does not affect Header/Footer or Number Lists (only numbers appear). Contact me if you need the subject files.

Message was edited by: Anet Gambina Found Workaround for Issue; but it appears 2 Stylesheets using 'Normal' is a problem

This topic has been closed for replies.
Correct answer Captiv8r

Actually, you've got both background-color and color set to Transparent.

If you change color to auto or black or a specific colour to match your branding, that should fix your issue.

(Hi Rick. didn't see you standing there. )


True, but background color shouldn't really have an effect on the text showing.

1 reply

Community Expert
February 5, 2015

I assume you see something like this? (Ugly font to make it obvious )

This sounds like you have in-line styles applied to paragraphs. Certainly your steps 1-4 define a single paragraph to have the Calibri font, which will prevent the style from your stylesheet being applied to that paragraph.

A quick way to check is to temporarily (please take a backup, just in case) set Normal in your working stylesheet to a crazy font. If I'm right, you will see the same behaviour as you get when you change to your second stylesheet. If this is the case, you will need to look at the html for a problem paragraph and do a find and replace across your whole project.

Take a backup of your project before you start, just in case something goes wrong!!

You will probably have to replace something like the following with nothing:

font-family: Verdana, sans-serif;

In my example, this is the code. I've highlighted the section that must be removed so that the stylesheet is correctly applied:

<p><span style="font-family: Arial, sans-serif;">MyCompany documentation

generally uses the gerund form (the &quot;ing&quot; form) of words for

titles and index keywords. Following is a list of the best gerunds to

use among many alternatives (e.g., use &quot;removing&quot; instead of

&quot;deleting&quot;).</span> </p>

If the font size is also a problem, you may also have to remove that code, for example: font-size: 10pt;


Hope that helps.

agambinaAuthor
Inspiring
February 5, 2015

Thank you for responding to the issue. The inline style described earlier was mentioned only because that was a way I found the content to reappear. I think some screenshots will help. Here are the WebHelp outputs; compiled with different stylesheets:

                    

I can send via email the following screenshots (if necessary):  Stylesheet 1.css, Stylesheet2.css, HTML for Topic (Stylesheet 1), HTML for Topic (Stylesheet2)

IE version

RH version

Community Expert
February 5, 2015

Maybe the Normal font colour is set to white?