IBM BPM, V8.0.1, All platforms > Customize and rebranding interfaces > Customize Process Portal > Customize Process Portal spaces > Customize banners > Customize banner elements and appearance
Hiding banner elements in Process Portal spaces
Some or all of the banner content can be hidden without modifying the entire theme.
You must have already created a copy of the banner content files for customizing.
If the header area of the banner is hidden, the logout option is not available to the user. Use this option only when the space is loaded inside a frame element as part of another page. This way the outside page can control the logout and redirect the frame content to the correct logout URL.
Even when the correct logout URL is used, widgets are not unloaded and the cleanup normally performed during an unload call is not executed.
The banner.css file contains code that controls the display of different sections in the banner. The display of each element is controlled by a line of code that consists of:
user access type + banner section + banner element
For example, the following line of code hides the Manage spaces link next to the Actions menu from users with viewer access:
.bspace-viewer .bannerActionLinksDiv #manageSpacesLink {display: none; }This code is commented out by default so that all elements in all sections are shown in the banner.
Procedure
- To hide particular elements, uncomment the corresponding line of code.
- To modify the code to apply to a particular set of users only, modify the user access type for the corresponding line of code.
For example, to hide the Manage Spaces link from users with viewer access, uncomment the following line of code:
.bspace-viewer .bannerActionLinksDiv #manageSpacesLink {display: none; }If you delete the user access type, the specified element is hidden from all users. In the previous example, if you delete the .bspace-viewer from the line of code, the Manage Spaces link is hidden from all users.
- To hide all the banner content, open the index.jsp file and delete the contents, instead of uncommenting every line in the theme.css file.
You cannot delete the index.jsp file itself because it is a required file.
Example
For an example of a banner with some content hidden, see Example: Customizing CSS styles to hide existing banner content in a Process Portal space
Customize banner elements and appearance in Process Portal spaces
Related tasks:
Create custom banner files for Process Portal spaces
Deploying a custom banner to a Process Portal space
Related reference:
Example: Customizing CSS styles to hide existing banner content in a Process Portal space