0 votes
1 view
in Salesforce by (10.6k points)

I'm trying to add a custom User Interface to SalesForce pages, how should I start?

1 Answer

0 votes
by (26.3k points)

You can customize your page UI with two simple steps: 

  1. Add attributes in your page element to remove default header, sidebar, and stylesheets attached to the page. 
  2. Add CSS and jQuery if required from Static resources. This is an optional step but very useful when working with large CSS and jQuery codes.

Adding attributes:

<apex:page id="thePage" controller="yourController" action="{!yourAction}" docType="html-5.0" standardStylesheets="false" sidebar="false" showHeader="false">

Adding static resources:

<apex:includeScript value="{!$Resource.yourJS}" />
<apex:stylesheet value="{!$Resource.yourCSS}" />