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
Mike McGibbony 12Mike McGibbony 12 

Can I change the font size, field column width, and section layout of an Account Object Page Layout after converting it to VF?

I'm not well-versed in VF and trying to change font size, colum width of fields and align my sections so that they are side by side to avoid the scrolling down the page.  I used a tool to convert the existing Page Layout of the Account Object that I installed from the AppExchange with the thought that I could edit it to meet my needs.  Here is a sample of my code. 

<apex:pageblocksection title="Balance Sheet" showheader="true" columns="2">
                    <apex:inputfield value="{!Account.Total_Assets__c}" required="false"/>
                    <apex:inputfield value="{!Account.Total_FHLB_Advances_000__c}" required="false"/>
                    <apex:inputfield value="{!Account.Asset_Growth_Rate__c}" required="false"/>
                    <apex:inputfield value="{!Account.Total_Equity_Capital__c}" required="false"/>
                    <apex:inputfield value="{!Account.Total_Loans_Leases__c}" required="false"/>
                    <apex:inputfield value="{!Account.Loan_Deposit__c}" required="false"/>
                    <apex:inputfield value="{!Account.Loan_Growth_Rate__c}" required="false"/>
                    <apex:inputfield value="{!Account.Loans_Assets__c}" required="false"/>
                    <apex:inputfield value="{!Account.Total_Deposits__c}" required="false"/>
                    <apex:inputfield value="{!Account.Real_Estate_Loans_Assets__c}" required="false"/>
                </apex:pageblocksection>
                <apex:pageblocksection title="Earnings (%)" showheader="true" columns="2">
                    <apex:inputfield value="{!Account.ROAA__c}" required="false"/>
                    <apex:inputfield value="{!Account.Change_In_NIM_from_Prior_Q__c}" required="false"/>
                    <apex:inputfield value="{!Account.ROAE__c}" required="false"/>
                    <apex:inputfield value="{!Account.Change_in_NIM_From_Prior_6_Mths__c}" required="false"/>
                    <apex:inputfield value="{!Account.Yield_on_Debt_Equity_Securities__c}" required="false"/>
                    <apex:inputfield value="{!Account.Net_Interest_Margin__c}" required="false"/>
                    <apex:inputfield value="{!Account.Yield_on_Loans__c}" required="false"/>
                    <apex:inputfield value="{!Account.X1_Year_Gap_Ratio__c}" required="false"/>
                    <apex:pageblocksectionitem />
                    <apex:inputfield value="{!Account.Cost_of_Funds__c}" required="false"/>
                </apex:pageblocksection>

Can I set parameters for each of these fields that will allow me to make the changes that I need to make?
ShashankShashank (Salesforce Developers) 
You should be able to change the number of columns in a pageblocksection. Please see this: http://www.salesforce.com/us/developer/docs/pages/Content/pages_compref_pageBlockSection.htm
Mike McGibbony 12Mike McGibbony 12
Shashank, thank you for your help.  I'll review the link and give it a try.  I appreciate you very much replying to my question.