Create Layout Templates for Forms

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
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.
  1. Open the Layout Templates page.
    • In Account Engagement, select Marketing | Forms | Layout Templates.
    • In the Lightning app, select Content and then Layout Templates.
  2. Click + Add Layout Template.
  3. Name the template.
  4. 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.
  5. (Optional) Edit the Form and Site Search tabs. The default code is best for most cases.
  6. Save your layout template.