Associating Primary Stylesheets With All Files

When you want to use styles in your content, the stylesheet needs to be made available for the content in question. In Flare, you can associate regular stylesheets with individual files (see Associating Stylesheets Locally With Specific Files). However, you also have the option of using a regular stylesheet as the primary one, applying it at either the project or target level, or both.

Setting a primary stylesheet at the project or target level automatically makes those styles available to all content files in that project or target.

How to Set a Primary Stylesheet at the Project level

  1. In the Project ribbon, select Project Properties.
  2. Select the Defaults tab.
  3. In the Primary Stylesheet field, select the stylesheet.
  4. (Optional) If you have other stylesheets and you want to associate them locally with topics, select Allow local stylesheets. For more about this option and how primary and local stylesheets work in the same project, see Primary and Local Stylesheets (and Precedence).
  5. Click OK.

How to Set a Primary Stylesheet at the Target level

  1. Open the target and select the General tab.
  2. In the Primary Stylesheet field, select the stylesheet.
  3. (Optional) If you have other stylesheets and you want to associate them locally with topics, select Allow local stylesheets. For more about this option and how primary and local stylesheets work in the same project, see Primary and Local Stylesheets (and Precedence).
  4. Click Save the active file. to save your work.

What’s Next?

After you associate a primary stylesheet with a project or target, you can apply styles from the stylesheet to content in the files. You can also create new selectors, adding them to the stylesheet. See Applying Styles to Content and Creating Selectors.