In the Style Element Properties section, choose either Group By Banner,

11-24 Oracle Fusion Middleware Users Guide for Oracle Portal This screen does not display when the page group administrator does not allow users to change styles in the page group.

6. Choose a style from the Choose Style list.

If you cannot find a style with the color and font settings that you want, and you have the appropriate privileges, you can click the Edit link in the Style Properties section to edit an existing style, or the Create New link to create a new style.

7. Click OK to save your changes and return to the page.

If your changes do not display immediately, edit the style; click the Main tab to bring it forward; and click the Clear Cache link under Cache Invalidation. This will clear the previous style from the cache, allowing the newly-selected style to display. For information on how to edit a style, see Section 11.10, Editing a Style .

11.8.2 Applying a Style to a Region

The style you apply to a region governs the colors and fonts used by the region and all the tabs, items, and sub-page links displayed within it. By default, regions use the same style as their parent page. However, you may want to apply a different style to a region to create visual interest. You can apply a style to item, tab, and sub-page links regions. You cannot apply a style to a portlet region. All portlets on a page use the style that is applied to the page. One exception to this is page portlets. With page portlets, you are given the opportunity to use the source page’s style or to use the style of the containing page. Using the style of the containing page works in most cases. The exception is when the source page is provided through the Federated Portal Adapter. In such cases, the setting to use the style of the containing page is ignored. The page portlet uses whatever style is applied to its source. Note: The Choose Style list includes all styles that you have created in this page group, all styles that were created in this page group by others and that you have privileges to use, and all styles in the Shared Objects page group. The initial selection is the page group’s default style. Additionally, this list includes the choice Use Users Default Style. With this selection, the style a user chooses through the Account Info link will be used. The style each user sees will depend on his or her default style. The Current Style field shows which style is currently applied to the page. The Style Properties section includes a preview of the current styles settings. Tip: Click each of the radio buttons in the Style Properties section to preview the colors and fonts provided by the style. The Style Properties section shows the style that is currently selected in the Choose Style list. Note: For more information on styles and portlets, see Section 11.13, Troubleshooting Styles . Working with Colors and Fonts 11-25 If your portlets are hand-coded, you can call your own cascading style sheet in lieu of an Oracle Portal style. For more information, see Section 12.3.3, Using HTML to Create Templates for Database Portlets . See also, Section 11.12, Using Portal Style Element Classes in HTML Templates and CSSs . To apply a style to an item, tab, or sub-page links region: 1. Log in to Oracle Portal.

2. Click the Build tab to bring it forward.

3. From the Page Groups portlet Work In drop-down list, select the page group that

owns the page on which to apply styles. By default, the Page Groups portlet is located on the Build tab of the Portal Builder page.

4. Under Pages in the Layout Appearance section, click the link to the page on

which to apply styles. This opens the page in Edit mode.

5. Click the Edit Region icon in the region on which to apply styles

Figure 11–14 . Figure 11–14 The Edit Region Icon

6. On the resulting page, click the Style tab to bring it forward.

This tab does not display when the page group administrator does not allow users to change styles in the page group.

7. Select a style from the Style list.

The style is applied to the region, and the Preview section is refreshed to show the styles settings. The Style list includes all the public styles in this page group and the Shared Objects page group, as well as any styles that you have created in this page group for your own use. To use the same style that is applied to the page, select Use Page Style. 8. Click Close to save your change and return to the page. If your changes do not display immediately, edit the style; click the Main tab to bring it forward; and click the Clear Cache link under Cache Invalidation. This will clear the previous style from the cache, allowing the newly-selected style to display. For information on how to edit a style, see Section 11.10, Editing a Style . When you apply a style to a tab, it controls the colors and fonts of the tabs themselves as well as the region containing the tabs. For this reason, you will want to be judicious in your choice of background colors for styles applied to tab regions. For example, in Figure 11–15 , the tab region’s background color has been defined for the style. In this example, the selection may not be the best choice for the overall look of the page. Note: To apply a style to an item region, you must have at least the page privilege Manage on the page, and the option Allow Privileged Users To Manage Page Style must be selected for the page’s page group. 11-26 Oracle Fusion Middleware Users Guide for Oracle Portal Figure 11–15 Tab Region with Defined Background Color

11.9 Making a Style Available to Other Users

There are two levels for making a style available: ■ Publishing a style ■ Sharing the style across page groups When you publish a style, it becomes selectable on style pick lists in the page group that owns the style. When you share a style across page groups, it becomes selectable on style pick lists across all page groups. This section describes how to publish and share styles. It includes the following subsections: ■ Section 11.9.1, Publishing a Style to Other Users ■ Section 11.9.2, Sharing a Style Across Page Groups

11.9.1 Publishing a Style to Other Users

You can make any style you create available for use by privileged users within the page group that owns it. To make a style available within a page group: 1. Log in to Oracle Portal.

2. Click the Build tab to bring it forward.

3. From the Page Groups portlet Work In drop-down list, select the page group that

owns the relevant style. By default, the Page Groups portlet is located on the Build tab of the Portal Builder page.

4. Under Styles in the Layout Appearance section, click the style to be edited.

This opens the Properties tab of the Edit Style page.

5. Click the Main tab to bring it forward.

6. Under Style Usage, select Make available for use in this page group.

7. Click OK to save your change and exit the Edit Style page.

11.9.2 Sharing a Style Across Page Groups

Move a style to the Shared Objects page group to make it available for use in all portal page groups. Tip: If the style is used by more than one page group, you will find it under the Shared Objects page group.