You need to sign in to do that
Don't have an account?
Sure@Dream
CSS issue in Community site page
Hi All,
I am using the following style to update the background color of <apex:pageMessages>
.message
{
background-color:AliceBlue;
}
Here message is the Salesforce style class for pageMessages. This is getting applied when i access the page from my Sandbox environment.
But when i access the page from community site, the background color is not getting changed.
This is happening only in IE. In Chrome its working fine.
Please help me with this.
If i add it to a static resource and access it, its not working in Chrome also.
Thanks.
I am using the following style to update the background color of <apex:pageMessages>
.message
{
background-color:AliceBlue;
}
Here message is the Salesforce style class for pageMessages. This is getting applied when i access the page from my Sandbox environment.
But when i access the page from community site, the background color is not getting changed.
This is happening only in IE. In Chrome its working fine.
Please help me with this.
If i add it to a static resource and access it, its not working in Chrome also.
Thanks.
Thanks for your reply.
I was able to solve this, by making setHeader="false".
Now the background-color is displaying as AliceBlue for pageMessages.
Thanks.
All Answers
Please refer below link:
https://help.salesforce.com/HTViewHelpDoc?id=siteforce_communities_branding_creating_styles.htm&language=en_US
I hope this helps. Please mark this as a "Best Answer" if this has resolved your issue.
Thanks for your reply.
I was able to solve this, by making setHeader="false".
Now the background-color is displaying as AliceBlue for pageMessages.
Thanks.