-
1. Re: Changing the background color of a portlet
jlaskowski Nov 4, 2005 8:07 AM (in response to giordano)Hi,
I haven't done it before, but if I had to do it I would definitely take a look at the default theme and change its CSS.
Jacek -
2. Re: Changing the background color of a portlet
mholzner Nov 7, 2005 6:05 PM (in response to giordano)if you take a look at how this is done in portal 2.2, it's easy to change this via the theme css with the following selectors:
.portlet-content-center {
background-color: #fff;
background-repeat: repeat;
vertical-align: top;
font-family: Verdana, Arial, Helvetica, Sans-Serif, sans-serif;
font-size: 12px;
}
.portlet-body {
background-color: #fff;
}
in portal 2.0 this is a lot harder, I believe. -
3. Re: Changing the background color of a portlet
paul1 Nov 7, 2005 8:08 PM (in response to giordano)Martin is correct. All you will need to do is change the hex value from #fff (CSS shorthand for #ffffff, or "white") for those selectors, to the hex value you would like to use. For example, this would change the background to a light gray...
.selector-name-here {background-color: #eeeeee;}
Hope this helps...