How to: |
You can apply themes to a WebFOCUS portal to customize its look and feel. Themes can be applied to new portals inside the New Portal dialog box or to existing portals inside the Edit Portal dialog box. A theme affects the look of the entire set of elements of the portal, including colors, opacity, and typeface styles.
There are four themes that WebFOCUS offers:
Additionally, you can create your unique custom theme and apply it to a portal.
The Edit Portal dialog box opens.
Note: The same setting can be configured for a new portal inside the New Portal dialog box.
The selected theme is applied to the portal.
The New Folder dialog box opens.
The custom theme folder is created. Your theme CSS file will reside in this folder. If you know which CSS classes should be used for your theme, you can create a new text file, add your code, and save this file as a Cascading Style Sheet. Alternatively, you can modify an existing theme CSS file. In this example, we copy and modify the theme CSS file for the Light theme.
The following image shows the correct hierarchy of the custom theme file.
Note: Do not modify the name of the theme CSS file. It is required that it stays the same for all themes. The name of the folder in which the file resides is the theme name that is available in WebFOCUS Designer.
The Text Editor opens in the new browser tab.
In this example, we changed the sidebar, banner, and background colors, as shown in the following images.
An example of a new theme applied to a portal is shown in the following image.
Note: You can control access to themes, both standard and custom, by configuring the List And Read security rule for the theme folder. To learn more about security rules, see the WebFOCUS Security and Administration technical content.