# Contact page

Use the **Contact page template** to let customers message you through the contact form.

* Customize the **content and layout** your contact page
* Add **custom fields and buttons** to the custom form
* Use the **Collapsible row list section** to answer common questions about your products

{% hint style="success" %}
Sending and receiving messages through the contact form is a Shopify feature. You can test Shopify's free theme Dawn to see if an issue is platform-related. For assistance, you can contact [Shopify support](https://help.shopify.com/en/support/).
{% endhint %}

<figure><img src="https://2417329470-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fhnqe0uck0ozZhJ77wGXt%2Fuploads%2FAfFnzB5eM7hB55Vp3Wdp%2Fcontact-page.png?alt=media&#x26;token=3a322ee0-12e7-478a-a104-bb15b3fd6270" alt="" width="563"><figcaption></figcaption></figure>

## Create page and assign template

***

In your Shopify admin, **create a page** and **assign the \`contact\` template** to the page.

{% stepper %}
{% step %}
From your Shopify admin, go to **Online store > Pages**. Click **Add page**.

{% hint style="success" %}
Pages are a Shopify feature: learn more in Shopify's guide for [creating pages](https://help.shopify.com/en/manual/online-store/themes/theme-structure/pages).
{% endhint %}
{% endstep %}

{% step %}
Enter a page **Title** (e.g. "Contact us").

{% hint style="info" %}
The title will not appear in the template. The title will be used for the page URL (e.g. **`www.store.com/contact-us`**).\
\
You don't need to add anything to the **Content** field. You will add the page content by editing the template in the theme editor.
{% endhint %}
{% endstep %}

{% step %}
Click the **Theme template** dropdown to assign the `contact` template to the page.

{% hint style="info" %}
If the theme isn't published, learn how to [assign templates from unpublished themes](https://help.fluorescent.co/stiletto/general/editing-themes/using-templates#assign-templates-from-unpublished-theme)
{% endhint %}
{% endstep %}

{% step %}
Click **Save**.
{% endstep %}
{% endstepper %}

## Edit contact template

***

In the theme editor, edit the "contact" template to design the layout and content of your page.

We recommend first editing the preset sections and hiding sections you won't use, before adding other sections.

{% stepper %}
{% step %}

#### Open "contact" template

In your **Theme editor**, use the template selector to open the `contact` template.
{% endstep %}

{% step %}

#### Preview page

Under "PREVIEW", click **Change** and select the page you created in the Shopify admin.

A warning symbol **(!)** next to the page name means that the template is not assigned. Click the page name to assign the template in the Shopify admin.
{% endstep %}

{% step %}

#### Customize sections

Edit the preset theme sections to add custom page content and styles.

Under **Template**, click **(+) Add section** to further customize your page with [theme sections](https://help.fluorescent.co/stiletto/sections/theme-sections).
{% endstep %}
{% endstepper %}

## Add contact form fields and options

***

Use the **Contact form** blocks to add custom text fields, buttons, and options for customers to fill out, and choose to make them required before submitting a message.

Use the drag handles **`⋮⋮`** to re-order blocks, and add **Spacer** and **Divider** blocks to further customize the layout.

<details>

<summary><mark style="color:blue;"><strong>STEPS: Add contact form blocks</strong></mark></summary>

In your theme editor (**Customize**):

1. Click on a **Block** to open the settings.

   > Click **(+) Add block** to add a new **block**.

   > See the list below for an overview of [all available blocks](#available-blocks).
2. (*Optional*.) Click and hold the drag handles **`⋮⋮`** to rearrange the blocks:

   ![](https://2417329470-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fhnqe0uck0ozZhJ77wGXt%2Fuploads%2Fgit-blob-22765d66f3708b95b5907a71e6b24326594ad146%2Fshopify-content-drag-handles.jpeg?alt=media)

   > Click **Remove block** or the eye icon to delete or hide a block.
3. Click **Save**.

</details>

### Contact form blocks

<table data-view="cards"><thead><tr><th></th><th></th></tr></thead><tbody><tr><td><strong>Email</strong></td><td>A text field for your customer's email.</td></tr><tr><td><strong>Phone</strong></td><td>text field for the customer's phone number.</td></tr><tr><td><strong>Text line</strong></td><td>Show a text field for customers to add a single word or line.</td></tr><tr><td><strong>Text area</strong></td><td>Show a text field for customers to add multiple lines.</td></tr><tr><td><strong>Checkbox option</strong></td><td>Add multiple checkboxes that allow for more than one selection.</td></tr><tr><td><strong>Radio buttons</strong></td><td>A list of buttons for multiple options that requires a single choice.</td></tr><tr><td><strong>Select dropdown</strong></td><td>Show a menu of multiple options that requires a single choice.</td></tr><tr><td><strong>Heading</strong></td><td>Enter text to display as a title above any blocks.</td></tr><tr><td><strong>Spacer</strong></td><td>Add a margin of space between other blocks.</td></tr></tbody></table>

### Show reCAPTCHA terms

***

`Click Contact form section to find settings`

<table><thead><tr><th width="233">Setting</th><th>Description</th></tr></thead><tbody><tr><td><mark style="color:blue;">Show reCAPTCHA terms</mark></td><td>Show the terms of service and privacy policy for Google's reCAPTCHA form.<br><br>Google reCAPTCHA is enabled by default on all Shopify stores to minimize spam from bots.</td></tr></tbody></table>

### Contact form content

***

Customize the section **Headings**, including font size and alignment.

<details>

<summary><mark style="color:blue;"><strong>STEPS</strong></mark></summary>

In your theme editor (**Customize**):

1. Click on the **Contact form** section to open the settings.
2. Change the **Heading** text as a title for your section.

   > Delete the text in this field to remove the heading.
3. Enter **Subheading** text to display more information below the **Heading**.
4. Select the **Alignment** for the **Heading** and **Subheading**. Either *Heading and text left*, *Heading and text center*, or *Heading center, text left*.
5. Set the **Heading size** to **Small**, **Medium**, or **Large**.
6. Uncheck the **Show reCAPTCHA terms** if your store has spam protection enabled.
7. Click **Save**.

</details>

`Click Contact form section to find settings`

<table><thead><tr><th width="165">Setting</th><th>Description</th></tr></thead><tbody><tr><td><mark style="color:blue;">Alignment</mark></td><td>Set the position of the section Heading and Text.</td></tr><tr><td><mark style="color:blue;">Heading</mark></td><td>Enter text to display a section title in the top-left corner.</td></tr><tr><td><mark style="color:blue;">Heading size</mark></td><td>Display heading text as Small, Medium, or Large.</td></tr><tr><td><mark style="color:blue;">Subheading</mark></td><td>Enter text to display a section subheading below the heading. Use the formatting buttons to add text styles, links, or lists.</td></tr></tbody></table>

### Contact form style

***

Adjust the overall section style by changing the **Padding** around the section content, and add an optional **Top divider** to clearly separate sections.

<details>

<summary><mark style="color:blue;"><strong>STEPS</strong></mark></summary>

In your theme editor (**Customize**):

1. Click on the **Collapsible row list** section to open the settings.
2. Choose to **Enable animation** to show visual effects when scrolling, hovering, or interacting with the section.

   > Learn more about [Section animations](https://help.fluorescent.co/stiletto/theme-styles/animation) in Stiletto.
3. Choose to display a **Top divider** that separates sections with a **Solid** line.

   > The Top divider uses the color of **Lines and borders** set in the Theme settings.
4. Select a **Padding** option to change the spacing between sections. Choose between **Top and bottom**, **Top only**, **Bottom only**, or set it to **None**.
5. Set the **Content width** to display the section at **Full width** or use the slider to set a custom width between **`400 - 1000`** pixels.
6. Click **Save**.

</details>

`Click Contact form section to find settings`

<table><thead><tr><th width="186">Setting</th><th>Description</th></tr></thead><tbody><tr><td><mark style="color:blue;">Enable animation</mark></td><td>Choose whether to display visual effects when scrolling, hovering, or interacting with the section.<br><br>See the <a href="../../theme-styles/animation">Animation guide</a> to learn more.</td></tr><tr><td><mark style="color:blue;">Top divider</mark></td><td>Show a solid border above the section to visually separate it from other sections.<br><br>The Top divider uses the <strong>Lines and borders</strong> color selected in the <a href="../../theme-styles/colors">theme color settings</a>.</td></tr><tr><td><mark style="color:blue;">Padding</mark></td><td>Add a margin of space around the section to either the <strong>Top and bottom</strong>, <strong>Top only</strong>, <strong>Bottom only</strong>, or set it to <strong>None</strong>.</td></tr><tr><td>C<mark style="color:blue;">ontent width</mark></td><td>Display the section at <strong>Full width</strong> or use the slider to set a custom width between <code>400 - 1000</code> pixels.</td></tr></tbody></table>

***

> **Related links**
>
> [Templates](https://help.fluorescent.co/stiletto/pages/templates)
