function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
AnushaAnusha 

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

RBC

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"  

 

<style>   

.pbHeader     

  {            background-color:yellow !important;        }    

</style>

 

 

add above stlye tag in you VFP. 

 

I hope it will help you.