Skip to main content
Known Participant
May 8, 2014
Answered

RoboHelp 11 not detecting styles in imported CSS

  • May 8, 2014
  • 1 reply
  • 1033 views

HELP!

When I import a CSS into RoboHelp 11 and then try to map FM12 paragraph styles to the selectors in the CSS, RoboHelp can't seem to see the styles in the CSS. Here's a very simple example from the CSS I'm using to test:

.Heading1{

font-size:1.75em; 

     margin-bottom: .4em; 

    font-family:AvenirHeavy; 

     color:#f00;

}

.Heading2{

font-size:1.5em; 

     margin-bottom: .4em; 

    font-family:AvenirHeavy;

     color:#f00;

}

.Heading3{

font-size:1.2em;

     margin-bottom: .4em; 

    font-family:AvenirHeavy;

color:#f00; 

}

.Heading4{

font-size:1em;

    margin-bottom: .4em; 

    font-family:AvenirHeavy;

    color:#f00;

}

The FM para tags are Heading 1, Heading 2, etc., but I can't map them because I can't see the styles in the CSS. HELP!

This topic has been closed for replies.
Correct answer Willam van Weelden

Hi Steve. I've found this link that suggests RH11 does have CSS3 support.See the "Standards Support" section about half way down the page.

Upgrade Guide | RoboHelp 11


Perhaps I'm late to the party, but my guess is that you can't map it

because you didn't include the tag in theCSS. Now it is just a class

that you can use everywhere. by adding P, H1-H6, you should be able to

map it.

Kind regards,

Willam

1 reply

Jeff_Coatsworth
Community Expert
Community Expert
May 8, 2014

Do you have your Heading1, Heading2, Heading3, Heading4 styles defined in RH? If so, you should map them to the FM paragraph tags – they’re probably not working because they’re coming across as “FM_xxx” styles in RH.

Known Participant
May 8, 2014

I have Heading1, Heading2, etc., defined in the CSS, and I've added the CSS to the project. The problem is that RH can't seem to see those styles in the CSS, so I can't map to them, either with Automap or manually.

I'm aware of how RH creates “FM_xxx” styles, which is what I'm trying to avoid by importing a custom CSS with the styles defined.

I'm thinking that's it has something to do with the way we've created the CSS, but I don't know what the exact problem could be.

Jeff_Coatsworth
Community Expert
Community Expert
May 9, 2014

AFIK, just importing a CSS into RH for it to use doesn’t populate your Styles pod with the styles in the CSS – you have to define them explicitly in RH.