Skip to main content
January 8, 2008
Question

Importing css into Robohelp

  • January 8, 2008
  • 1 reply
  • 4070 views
I'm trying to import my own css into Robohelp so that we don't have to manually edit every single document we already have. I was told that the way to do it was to add the following to the <head> tag/paragraph.

<style type="text/css" media="all">@import "OurOwn.css";</style>

This assumes, of course, that our css file is called "OurOwn.css". The request is completely ignored and the generated code shows no signs of our css. If, however, I manually edit documents and add the following to the <head> paragraph:

<link rel=StyleSheet href="..\OurOwn.css">

It works fine. Any ideas? Suggestions?

Thanks, and take care out there.
This topic has been closed for replies.

1 reply

RoboColum_n_
Legend
January 8, 2008
Hi wftl and welcome to the RH community. I find it easier to apply a style sheet to the topic's properties. It means no messing around inside the HTML and you can apply the .CSS across multiple topics at a time by selecting them.
January 8, 2008
Hello Colum,

Sadly, we have hundreds of topics which would make applying an external style sheet via topics a daunting proposal.

Over to you, and thanks.
MergeThis
Inspiring
January 8, 2008
Nay, not so!

Just select every appropriate topic in the Topics tab, right click and select Properties, and assign the external style sheet in the Appearance tab.

Presto, change-o!


Good luck,
Leon