Font and color

Le Basque
Posts: 147
Joined: Sat Oct 19, 2013 8:21 am

Font and color

Post by Le Basque » Sun Oct 20, 2013 7:12 am

To change the font and font color should it go through the CSS file or directly in the stylesheet?
How to make this generic font choice?
thank you

Posts: 4144
Joined: Fri Mar 28, 2003 2:12 pm

Re: Font and color

Post by sorin_ristache » Mon Oct 21, 2013 12:31 pm


Where do you want to change the font and color? For changing them in Author editing mode you have to extend or customize the CSS stylesheet that Oxygen uses for Author mode:


If you want to change the font and color of some elements in the output of a DITA transformation you will have to edit an XSLT stylesheet. For example for the PDF output the font and color properties are set by the XSLT stylesheets from directory:



Post Reply