Use a Custom Stylesheet In an Interview
The appearance of an interview and individual controls can be further modified using Cascading Style Sheet (CSS) styles and classes. To use this feature you should have a basic working knowledge of CSS.
To include a custom stylesheet in a project:
- On the Interview tab, click the Styles button.
- In the Styles dialog box, click the Custom Files button. (If you have not added custom files to this project before, you will be warned that custom files can make manual upgrade necessary for future product versions. Click OK.) Windows Explorer opens to the /interview-theme/resources folder for the project.
- Put the CSS files which define the styles and classes referred to in the project (for example, in any interview styling extensions or in any input controls in Policy Modeling) into the /interview-theme/resources folder. Any auxiliary CSS files must not be called main.css. Auxiliary CSS files will be automatically incorporated into the interview after the intrinsic main.css and will be added in ascending case insensitive file path order.
Note: You can include images and other resources in your custom CSS. The browser may cache the custom CSS file, in which case any subsequent changes to the file will not be displayed until you reload the interview in the browser.