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
JethaJetha 

Pageblock Title styling

I want to apply some styling to pageBlock title. 

If lets say my title is "Data is refreshed as of 4/12/2016", in that case date should be displayed in red colour.


Any help is appreciated :)
Best Answer chosen by Jetha
Amit Chaudhary 8Amit Chaudhary 8
Please check below post I hope that will help you
1) http://salesforce.stackexchange.com/questions/88207/how-to-change-color-on-one-particular-pageblocksection
2) http://salesforce-stuff.blogspot.in/2011/12/customise-colour-of-pageblocksection.html

Sample code for you
<apex:pageBlock title="Data is refreshed as of "  >
  <font color="#ff0000">
  <apex:facet name="header">
         <span style="color:red">Data is refreshed as of</span>
         </apex:facet>     
  </font> 
 </apex:pageBlock>

Let us know if this will help you

Thanks
Amit Chaudhary