Items Tabs Style Element Properties

11-8 Oracle Fusion Middleware Users Guide for Oracle Portal

9. Select a Font Face.

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

10. 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

11. Select a Font Style:

■ Plain ■ Bold ■ Italic ■ Bold Italic 12. Click Apply. Your changes are saved, and the Preview section is refreshed to show your color and font selections. 13. Edit each style element as desired. Click Apply after changing each element. 14. Click Close to return to the Page Groups portlet.

11.5 Defining Styles for Portlets

The following subsections explain how to change the colors and fonts that define the style of portlets: ■ Section 11.5.1, Changing the Portlet Body Color ■ Section 11.5.2, Changing Portlet Header Colors, Fonts, and Edges ■ Section 11.5.3, Changing Portlet Heading and Text Colors and Fonts ■ Section 11.5.4, Controlling Styles for Page Portlets and Navigation Pages

11.5.1 Changing the Portlet Body Color

You can use background or body colors to draw attention to a specific functional area on a page or to a specific type of object. For example, you can change the color of the main body of a portlet. To change the body color of a portlet, edit the style used by the page on which the portlet is placed. Figure 11–3 shows the same portlet with different body color settings. Working with Colors and Fonts 11-9 Figure 11–3 Same Portlet with Different Body Color Settings Hand-coded portlets created for Oracle Portal may use their own style instead of the style of the page on which they are placed. In such cases, these portlets will use the style specified when they were created rather than any style you apply. Use care when changing a style: the changes you make may affect the appearance of all the portlets that use the style. To change the portlet body color: 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 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 Properties tab of the Edit Style page.

5. In the Style Element Type section, choose Portlets.