Deleting a Style Oracle Fusion Middleware Online Documentation Library

11-32 Oracle Fusion Middleware Users Guide for Oracle Portal Add some portlets and items to the Source and Target pages. Publish the Source page as a portlet. Place the Source page portlet onto the Target page. For the Source page, experiment with selecting and de-selecting Use Style Of Page On Which Portlet Is Placed , and viewing the result on the Target page. Also, experiment with specifying and clearing the value field for the Background property of Target Style’s Common style element. My page portlet is not using the style of the container page, as I specified. When you publish a page as a portlet, 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. My style specifies a page background color, but no color displays. When a page uses an HTML page skin template, the page background color is taken from the template and any background color specified in a defined style is ignored. An exception to this is when the page skin uses a class generated by an Oracle Portal style. For example, you can place an Oracle Portal style element class in the body HTML tag: BODY style=margin:0px class=Bodyid2siteid0. Should you change the style declaratively, through the Oracle Portal user interface, the change is reflected as well in the template that references the style class. This enables you to change the Background Color of all pages that use the page skin through the declarative style. For more information on Oracle Portal style element classes, see Section 11.12, Using Portal Style Element Classes in HTML Templates and CSSs . My portlettab corners are not rounded. Check the applied style’s Common style element, specifically check the hexadecimal value entered for the Background property’s Background Color attribute. If you enter a hexidecimal color value that does not also appear in the color palette, tabs and portlets do not display with rounded corners. I have applied my own CSS to my pages through an HTML template, and my results are very uneven. It could be that the HTML template not only calls the CSS but also includes the page.style HTML template substitution tag. Or the template header includes Oracle Portal style element classes between stylestyle tags as well as the page.style tag. If either of these is the case, consider removing the page.style tag. This tag calls the Oracle Portal style, which may include the same style element classes specified in the CSS or embedded between the stylestyle tags. This causes conflict, with the portal doing its best to figure out which style element class specifications to use. It might also be that you have not applied the Main style to all relevant pages. If so, then the variable values associated with some of the style element classes idnsiteidnn do not match up with those of the Oracle Portal style selected for the page. Go to all affected pages, and select the Main style. The Main style, which comes from the Shared Objects page group, always provides the variable values id1siteid0, making it predictable and thus allowing for consistent results. Working with Colors and Fonts 11-33 My Page portletnavigation page is using the background color of the container page, rather than the source page, as I prefer. To ensure that a page portlet or navigation page uses its own background color, rather than the one specified for the page it is placed on: 1. Ensure that the page portlet or navigation page uses its own style when it is published as a portlet that is, do not select this option for the page or navigation page that you are using as a portlet. 2. In the style that is used by the target page that is, the page where you place the page portlet or navigation page, set Portlet Body Color style element to Null no value.