# Contact form

Use the **Contact form** section to let customers get in touch with you directly from any page.

Add custom text fields, buttons, and options for customers to fill out, and choose to make them required before submitting a message.

> To create a full contact page, see the [contact page template](https://help.fluorescent.co/stiletto/pages/templates/contact-page).

{% 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 %}

## Set up section

***

{% hint style="warning" %}
Editing a template changes all pages that use that template. To edit specific pages, you can [create new templates](https://help.fluorescent.co/stiletto/general/editing-themes/using-templates#create-and-assign-multiple-templates) or [insert dynamic content with metafields](https://help.fluorescent.co/stiletto/general/adapting-your-theme/dynamic-content-with-metafields)
{% endhint %}

In the editor side panel, click **(+) Add section** and select **Contact form**. Click and hold the drag handles **`⋮⋮`** to re-order sections.

Click the section to edit the general **section styles:** [Padding](https://help.fluorescent.co/stiletto/sections/using-sections#section-padding) | [Top divider](https://help.fluorescent.co/stiletto/sections/using-sections#section-top-divider) | [Animation](https://help.fluorescent.co/stiletto/sections/using-sections#section-animations)

## Add contact 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>

### Change content width

***

Change the width of the content blocks area.

`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;">Content 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>

### Show reCAPTCHA terms

***

Google reCAPTCHA is enabled by default on all Shopify stores to minimize spam from bots.

`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.</td></tr></tbody></table>

## Section header

***

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. Click **Save**.

</details>

`Click Contact form section to find settings`

<table><thead><tr><th width="179">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;">Heading tag</mark></td><td>Change the heading tag to modify the page structure. Use H2 to indicate important topics, and use H3-H6 for related topics.<br><br>This option doesn't change the heading's appearance.</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>

***

> **Related links**
>
> [Contact page](https://help.fluorescent.co/stiletto/pages/templates/contact-page)\
> [Newsletter](https://help.fluorescent.co/stiletto/sections/theme-sections/newsletter)
