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
mavsmavs 

PageBlockSection Title Size

Hi there Is there any property to set PageBlockSection Title size?
Best Answer chosen by Admin (Salesforce Developers) 
prageethprageeth

Try this.

<apex:page>

<head>

<style>

div.pbSubheader{

font-size:20px;

}

</style>

</head>

<apex:pageblock>

<apex:pageblockSection title="This is the title">

 

</apex:pageblockSection>

</apex:pageblock>

</apex:page> 

 

 

 

All Answers

gv007gv007
The size was String data type probally the length was 225 char please check it progrmatically i did't find anything in the docs 
mavsmavs

sorry i should have been specific.

 

I am looking to set the font size for pageblocksection title.

 

And for text size you are correct it is 255.

prageethprageeth

Try this.

<apex:page>

<head>

<style>

div.pbSubheader{

font-size:20px;

}

</style>

</head>

<apex:pageblock>

<apex:pageblockSection title="This is the title">

 

</apex:pageblockSection>

</apex:pageblock>

</apex:page> 

 

 

 

This was selected as the best answer