Print this page

Edit Header/Footer of standard salesforce page

Knowledge Article Number 000181208
Description User wants to add a small amount of custom code to the Header or Footer of a Standard Salesforce Page.
1. The first way to implement the Header/Footer is through Self Service Portal Settings. The links for reference is :
2. In order to include the header/footer in your standard object page like Account/Opportunity, there are two ways: 
a) Create a VF page of the same controller for which you want the functionality. For eg, if I am trying to include the VF page on Account, probably, the VF page will contain the code like 
<apex:page standardController="Account">

Then go to Accounts, select any account and click on Edit Layout on the top right side. You will get an option to add Visual Force Pages. You can drag and drop the VF page anywhere between the fields on the page as per your requirement. Adjust the properties like height/width from the wrench icon on the top right side of the VF page once dropped. 
b) You need to create a custom VF page which will contain the complete functionality and fields of the standard object and then override the complete standard object with that VF page. 
In both methods above, you can include your custom coding in the VF pages and implement them.


promote demote