Adaptive styles allow you to modify page layout and design using the portal CSS template file. You can also use CSS to hide specific functionality exposed in the portal page. This page provides basic syntax rules and customization examples.
Syntax
#pt-page-100
{
background-color: red;
}
You can change style settings for a specific user or type
of user (administrator or guest). The example below displays a special
header image on all browse-mode pages for guests. To modify a style
for a specific user, replace "guest" with the name of the appropriate
portal User object (e.g., .ptPageUser-mycompany domain ad\Joe
Smith). .ptPageUser-guest #pt-header
{
background-image: url(/imageserver/plumtree/portal/private/img/example_guest.gif);
}
Style and Branding Customizations
#ali-banner {
width:100%;
height:80px;
background-color: #1D54A6;
background-image: url(../img/MyCompany_bkg.jpg);
background-repeat: repeat-x;
font-family:Verdana, Arial, Helvetica, sans-serif;
min-width:980px;
}
You can also modify the background color for a single
page or a specific community. The example below sets the background
color for the community with ID 200. .ptCommunity-200
{
background-color: #AAA;
}
Page Element Customizations
#ali-bannerSearch {
clear:right;
float:right;
position:relative;
width:600px;
padding: 18px 24px 0px 24px;
}