+ Start a Discussion

Re : Custom Colors for Page Block

Hello Everyone,

I Have a PageBlcok, and this pageBlock inheriting the Header Color from Custom Object Tab.

I have removed the color using mode attribute of pageBlock. Now, I need to give my Custom Color to PageBlcok, How can I do this.

Please don't tell, use tabIndex property... It's not my Requirement.


Thanks & Regards


Shashikant SharmaShashikant Sharma

You can try this

just get the class name for you page block which will be rendered as div, most probably it be "pbHeader"  




  {            background-color:yellow !important;        }    




add above stlye tag in you VFP. 


I hope it will help you.