Under Pages in the Layout Appearance section, click the page to be edited. In the page toolbar at the top of the page, click the Style link.

Working with Colors and Fonts 11-27 To move a style to the Shared Objects page group: 1. Log in to Oracle Portal.

2. Click the Build tab to bring it forward.

3. Click the Navigator link at the top of the page.

This opens the Portal Navigator.

4. In the Portal Navigator, click the Page Groups tab to bring it forward.

5. Click the page group link for the page group that contains the style to be moved.

6. On the resulting page, click the Styles node.

Only the styles you are authorized to see and the actions you are authorized to perform are displayed.

7. Click the Moved to shared link next to the style to be moved to the Shared Objects

page group.

11.10 Editing a Style

Editing a style involves almost the same steps you take in creating one. The main differences are in how you access the style and in which style attributes are available for revision. To edit a style: 1. Log in to Oracle Portal.

2. Click the Build tab to bring it forward.

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

that owns the style to be edited. 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 Edit Style page. Note: Objects can be moved to the Shared Objects page group—whose default language is English—from a non-English page group only if the object already has an English translation. This applies to all promotable objects: ■ Item types ■ Page types ■ Attributes ■ Styles ■ Categories ■ Perspectives 11-28 Oracle Fusion Middleware Users Guide for Oracle Portal

5. Click the Main tab to bring it forward.

The attributes available on the Main tab vary a little from the attributes available when you first create the style. Notably, the Main tab includes Name and Description attributes. The Name attribute differs from the Display Name attribute both in the way Oracle Portal uses it and in the rules that govern which characters can be used in its formation. Oracle Portal uses the Name internally. The default value in the Name field is taken from the Display Name provided when the style was created. The value is truncated to 65 characters and any spaces and special characters are discarded. Use only alphanumeric characters A to Z, a to z, and 0 to 9 and underscore _ For example, if the Display Name is RD Style, the Name is RDSTYLE. The Name must be unique within its page group and the Shared Objects page group. Use up to 65 characters.

6. If you wish, enter a description of the style in the Description field.

The style description is available to view when users edit the style. It is not exposed anywhere else.

7. Click the Properties tab to bring it forward.

Edit the style properties as described in the previous sections, including: ■ Section 11.3, Style Element Properties ■ Section 11.4, Defining Styles for Items ■ Section 11.5, Defining Styles for Portlets ■ Section 11.6, Defining Styles for Tabs ■ Section 11.7, Defining Common Style Elements

8. Click the Main tab to bring it forward, then click the Clear Cache link.

Clearing cache removes all cache entries associated with this style, making the changes you have made take effect immediately.

9. Click OK when you are done.

11.11 Deleting a Style

When you delete a style, all pages and item regions that used the style revert to the page group default style. If the page group default style is None, all pages and regions revert to the system default style. You cannot delete the system default style, nor can you delete the style created automatically when a page group is created. To delete a style, you must either have created the style or have at least the page group privilege Manage Styles on the page group that owns the style. To delete a style: Note: If the style is not included in those listed in the Page Groups portlet, click the More… link that displays at the end of the list of styles.