+ Start a Discussion

page block background color

Hi, I am using below code to change my page block background color. body .bPageBlock .pbBody .red .pbSubheader{ background-color:#91AF6A !important; font-weight: bold ; font-face: comic sans ms ; color:#ffffff !important; } When i am using vf page with custom controller it is working fine, But problem is when i am using vf page with standard controller it is not applying background color mentioned above. Kindly help. Regards, Mayur
Can u try using standardStylesheets=false in your <apex:page>
Mike @ BlackTabMike @ BlackTab

You might be able to use Javascript or jQuery to apply the styles after the page is loaded.