As a site administrator or designer, when you create a site page, you can choose to base it on a layout or page template.
Required Editions
| Available in: Salesforce Classic |
|
Available for purchase in: Enterprise, Performance, and Unlimited Editions Available (with limitations) in: Developer Edition |
| User Permissions Needed | |
|---|---|
| To build, edit, and manage Site.com sites: |
Site.com Publisher User field enabled on the user detail page AND Site administrator or designer role assigned at the site level |
As a site administrator or designer, when you create a site page, you can choose to base it on a page template. If you're creating several site pages that have common page elements, such as a navigation menu, you can save time and effort and achieve a consistent look and feel by creating a page template first and then basing your site pages on it. Alternatively, if none of your site pages have a similar structure or if you need to create a one-off site page that doesn't follow the overall site design, such as a home page, you can create a page based on a basic layout.
Create Site Pages from a Layout
Start from scratch with a completely blank page or use a basic page layout.
- Hover over Site Pages on the Overview tab and click New, or click New | Site Page when the Site Pages view is open.
- Enter the site page name. Page names can't include spaces or special characters, such as #, ?, or @.
- Click Layouts and select either a blank page or a
predefined page layout, such as a page with a header and footer.
Note Predefined page layouts use panels to create columns, headers, and footers. These panels use inline CSS to set their position, so you can easily modify the layout after the page is created. However, if you're familiar with CSS and prefer using CSS rules, you can remove the inline style by selecting the panel, deleting the code from the Code tab in the Style pane (
), and clicking Apply. - Choose a layout mode:
- To expand the page to fill the width of the browser window, click Full width.
- To set the page width, click Fixed width and enter the width.
- Click Create. The site page opens.
Create Site Pages from a Page Template
If you created a page template, you can base your site pages on it.
The quickest option is to:
- Select the template in the Page Templates view and click
| Create Page from Template. Alternatively, click Page Actions | Create Page from Template if the template is open. - Enter the site page name. Page names can't include spaces or special characters, such as #, ?, or @.
- Click Create. The site page opens.
Alternatively:
- Hover over Site Pages on the Overview tab and click New, or click New | Site Page when the Site Pages view is open.
- Enter the site page name. Page names can't include spaces or special characters, such as #, ?, or @.
- Click Page templates and select the page template.
- Click Create. The site page opens.