Layout templates are used to format landing pages, forms, and site search results. Layout templates do not support server-side scripting languages.
Required Editions
| Available in: All Account Engagement Editions |
| User Permissions Needed | |
|---|---|
| To create layout templates: | Account Engagement Administrator or Marketing role |
Note The outermost containing element controls a form’s styling.
- If a form is by itself, the layout template for that form is used.
- If a form is on a landing page, the landing page layout template is used, and the form’s layout template is ignored.
- If a form is on a landing page built using the landing page builder, no layout template is used.
-
Open the Layout Templates page.
- In Account Engagement, select Marketing | Forms | Layout Templates.
- In the Lightning app, select Content and then Layout Templates.
- Click + Add Layout Template.
- Name the template.
-
Create or import styling using one of these methods.
- On the Layout tab, add HTML and CSS. Don’t remove the
%%title%%,%%content%%, and%%description%%variable tags because they populate content for your forms and landing pages. - Import styling from a website by clicking Import layout from URL.
You must add the
%%title%%,%%content%%, and%%description%%variable tags.
- On the Layout tab, add HTML and CSS. Don’t remove the
- (Optional) Edit the Form and Site Search tabs. The default code is best for most cases.
- Save your layout template.