Referencing the custom CSS from a publishing template

  1. If you haven't already created a Publishing Template, see Working with publishing templates.
  2. Using the Project view, copy your custom CSS in a folder inside the publishing template root folder (for example, in the custom_footer_template/resources folder).
  3. Open the template descriptor file associated with your publishing template and add your custom CSS in the resources section.
    <publishing-template>
        ...
        <webhelp>
            ...                
            <resources>            
                ...          
                <css file="resources/MyCustom.css"/>
  4. Open the DITA Map WebHelp Responsive transformation scenario.
  5. Click the Choose Custom Publishing Template link and select your template.
  6. Click OK to save the changes to the transformation scenario.
  7. Run the transformation scenario.
Your custom CSS will be applied as a final layer on top of any existing CSS rules and the output will reflect the changes you made.