You need to sign in to do that
Don't have an account?
iainfarq
Pageblocks sometimes appear in strange bright colours within our application
Pageblocks sometimes appear in strange bright colours within our application -our stylesheets do not include the colours displayed, and everything seems to link back to salesforce scripts.
This only started happening recently, and affects different pages/pageblocks on different orgs with identical code.
Is anyone else experiencing a similar problem? This is one of the more flamboyant display problems we've come across ;)
Thanks.
<style>
Custom68Tab .secondaryPalette,.individualPalette .Custom68Block .secondaryPalette {background-color: transparent} </style>
in the page itself (we store our styles in components to ensure they override standard salesforce styles - using <apex:includeScript> may not work), we were able to override the offending salesforce styles.
@ jonathan rico, this doesn't solve your problem - we're having that problem too and have created a thread here :
http://community.salesforce.com/sforce/board/message?board.id=Visualforce&message.id=20094#M20094
All Answers
Hello,
I'm having this same issue. Are you getting some bright green colors as well?
I created a thread previously but no answers :(
http://community.salesforce.com/sforce/board/message?board.id=Visualforce&message.id=19909#M19909
@ jonathan rico
We've since got a response from salesforce support which (hopefully) fixes the issue for us:
Initially we received the response:
-----------------------
The following styles "individualPalette" & "Custom68Block" are causing the red background.
<div class="individualPalette">
<div class="Custom68Block">
To remove the red, remove the reference to the custom stylesheet <link class="user" type="text/css" rel="stylesheet" href="/sCSS/17.0/sprites/1262810577000/Theme2/00DA0000000ICsN/005A0000000McMh/dCustom0.css">
-----------------------
Our response to this was that these were salesforce stylesheets and we had no access to them, however salesforce reply cleared things up:
-----------------------
<style>
Custom68Tab .secondaryPalette,.individualPalette .Custom68Block .secondaryPalette {background-color: transparent} </style>
This is caused by the css hierarchy: your css is called as component of the general template (where you have 5 different css component), while the default one is called with the custom object from the system, so the hierarchy of the default come before your css, that's why you had the error. By calling the style directly in the page your css overwrite the default one so it display it right.
-----------------------
Hope this helps!
<style>
Custom68Tab .secondaryPalette,.individualPalette .Custom68Block .secondaryPalette {background-color: transparent} </style>
in the page itself (we store our styles in components to ensure they override standard salesforce styles - using <apex:includeScript> may not work), we were able to override the offending salesforce styles.
@ jonathan rico, this doesn't solve your problem - we're having that problem too and have created a thread here :
http://community.salesforce.com/sforce/board/message?board.id=Visualforce&message.id=20094#M20094
Hey, thanks for the response.
I'm hoping they fix this soon because it is messing up the styles in some of my vf pages.
More info on the pallette if you need it:
http://wiki.developerforce.com/index.php/Using_the_Salesforce_CSS_in_Your_Apps#Using_Palettes