michael ric scheffler:
Hello
I would like to apply background image (png) for a single different portlets.
My Way:
I add a rule for just this portlet
in
"portlet's look-and-feel"
attach css rules just for portlet by clicking portlet's look-and-feel - Advanced Styling - and add a CSS rule for just this portlet.
Sample:
I tried using
#portlet-wrapper-56_INSTANCE_M3tl .portlet-content, .portlet-content-container{
background-image:url(../images/portlet/myPicture.png);
}
but no success ! !
per changes in "main.ccs"
for all portlets "it works"
What could I have done wrong?
SETUP:
Liferay Portal Standard Edition 5.2.3 (Augustine / Build 5203 /2009)
regards
mike
is myPicture.png in war file ?
If yes, use the below css in - Advanced Styling -
1
2#portlet-wrapper-56_INSTANCE_M3tl .portlet-content, .portlet-content-container{
3background-image:url([b]/<themename>[/b]/images/portlet/myPicture.png);
4}
If No,
1#portlet-wrapper-56_INSTANCE_M3tl .portlet-content, .portlet-content-container{
2background-image:url(/html/images/portlet/myPicture.png);
3}
HTH,
Arun