Changing the Page or Region Background

Working with Colors and Fonts 11-21

6. Click a color in the color palette, or enter a hexadecimal value in the Color field,

for example 66FF66. Clicking in the palette automatically populates the Color field with a hexadecimal value.

7. Select a Font Decoration:

■ None for no decoration see the following Note ■ Plain for no decoration see the following Note ■ Underline for underlined text ■ Line-Through for lined-out text ■ Underline Linethrough for underlined text that is also lined out

8. Select a Font Face.

The Default font face renders the text in the default font specified by the users browser.

9. Specify a Font Size and select a unit of measurement:

■ px fixed unit pixels, though relative to the viewers monitor ■ pt fixed unit points ■ em relative unit relative to the font size of the last specified font ■ ex relative unit relative to the X size of the last specified font ■ relative unit relative to the font size of the last specified font

10. Select a Font Style:

■ Plain ■ Bold ■ Italic ■ Bold Italic 11. Click Apply. The Preview section is refreshed to show your color and font selections. 12. Edit each of the banner style elements as desired. Click Apply after changing the color or font of each element. 13. Click Close to save your changes and exit the Edit Style page. Note: The Plain and None selections provide the same effect for most item-types. However, when applied to items displayed as hyperlinks, they behave differently: ■ When None is applied to a hyperlink, the way the hyperlink is displayed is determined by a users browser settings. That is, it displays as either plain or underlined according to how the users browser is configured. ■ When Plain is applied to a hyperlink, the hyperlink is always displayed as Plain not underlined, no matter what the settings in the users browser. 11-22 Oracle Fusion Middleware Users Guide for Oracle Portal

11.8 Applying a Style

You can apply styles to pages, tabs, and regions. On pages, you can apply styles explicitly and by default. This section describes the various ways to apply styles. It includes the following subsections: ■ Section 11.8.1, Applying a Style to a Page ■ Section 11.8.2, Applying a Style to a Region

11.8.1 Applying a Style to a Page

The style you apply to a page governs the colors and fonts used by the page and its content. You can apply styles to standard pages and to pages of a custom type that is based on a standard page. This section explores the rules that govern how styles are applied in default situations and describes how to explicitly apply a style. It contains the following sub-sections: ■ Section 11.8.1.1, Applying a Style by Default ■ Section 11.8.1.2, Applying a Style Explicitly

11.8.1.1 Applying a Style by Default

You can specify that a page must use a user’s current default style. The user’s view of the page displays in that style. Users set their default style under Account Info. For more information, see Section 2.1.6, Choosing a Default Page Style . If you base a page on a Portal Template that does not allow pages to use a different style, your users will not be able to apply a different style to the page when they edit or customize the page. If you change the style selection for a template, the style selection is also changed for any page that is based on that template. However, if the template allows pages to use a different style, and users have chosen different styles for pages based on the template, changes to the template style selection do not affect these pages. There is a hierarchical structure to the application of styles when no explicit style is selected. First, it is useful to understand that default styles can be set at the system, page group, and individual user levels. ■ The system default is set on the Administer tab in the Services portlet under Global Settings . ■ The page group default is set in page group properties. ■ The user default is set by the user under Account Info. Note that the page group default is not automatically applied to the page group root page; you must explicitly specify a style in the root page’s page properties. If the page group administrator has selected the page group option to Copy Parent Page Properties When Creating Page , new pages created in the page group will by default use the same style specified in the parent page’s page properties rather than the default style selected in the page group properties. To summarize how default styles are used: ■ When page group administrators configure a page group to Copy Parent Page Properties When Creating a Page , then sub-pages use the style specified in the page properties of the parent page.