Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Can I use conditional build tags in CSS files?

Guest
Jun 18, 2008 Jun 18, 2008
I am using RoboHelp X5.0.2 and building CHM files.

I use conditional build tags to output different Help files for the different products we have that all have similarities.
In the past I have setup the CSS file to show headers, links etc in the color scheme we use to keep the look and feel of our branding. One of the new products uses a different branding color scheme.

I was wondering if there is a way I can use conditional build tags in the CSS file so that when I build one type of help it uses header in one color and when I build another help it uses a different header color. Does anyone know how to do this? If it is not possible in my current version, is it possible in the latest version of Robohelp?
507
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Jun 19, 2008 Jun 19, 2008
No BrisTechwriter, you cannot use CBTs on a CSS file currently, but I have forwarded this feature request forward so that we can have this feature in some future release of RH :)

Regards,
Pooja
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Advisor ,
Jun 19, 2008 Jun 19, 2008
[WORKAROUND ALERT IN X502]

For .chm output, you could:

1. In the Topics pane, select all the topics (click on one topic and press Ctrl+A).
2. Right click in the highlighted area and select Properties.
3. In the Appearance tab, select the different style sheet.
4. Click Save.
5. Generate the .chm file.
6. (optional) Repeat steps 1-4 to revert to previous style sheet setting.


Good luck,
Leon
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Jun 19, 2008 Jun 19, 2008
LATEST
Thanks Leon, your workaround works well...
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Jun 19, 2008 Jun 19, 2008
LATEST
Thanks Leon, your workaround works well...
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources
RoboHelp Documentation
Download Adobe RoboHelp