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
Bhargav krishna 1Bhargav krishna 1 

How to change the font size inside page block section

Hi all,
I want to change the font size in my custom vfpage inside the pageblocksection.
<apex:pageblocksection>
    <apex:inputField value="{!uform.Person_Name__c}"/>
</apex:pageblocksection>
I tried with style="width: 50%; height: 21px; font-size: 16px;" but it's not working.
Can anyone help me here.


Thanks in advance.
Regrads,
Bhargav.
Ankur Saini 9Ankur Saini 9
Hi Bhargav krishna 1,
try this, it works fine.

            <apex:pageBlockSection >
                   <apex:inputField style="width: 50%; height: 20px; font-size: 16px;" value="{!acc.name}"/>
            </apex:pageBlockSection>

Thanks 
Ankur Saini
http://mirketa.com
Dushyant SonwarDushyant Sonwar
<apex:pageBlockSection html-style="width: 50%; height: 21px; font-size: 16px;">
Hi Bhargav,

You can set style of pageblocksection by above.
Hope this helps :)