# 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](/cornerstone/pages/templates/contact-page.md).

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

{% hint style="warning" %}
**Editing templates will change all pages that use the same template**. [Create new templates](/cornerstone/general/editing-themes/using-templates.md#create-and-assign-multiple-templates) for different page layouts, or [show dynamic page content](/cornerstone/general/adapting-your-theme/dynamic-content-with-metafields.md) in the same template.
{% endhint %}

## Set up section

***

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

### Section styles

Sections include general styles. Click the section to find options for **spacing**, and **animations**.

<table data-view="cards"><thead><tr><th align="center"></th><th data-hidden data-type="content-ref"></th></tr></thead><tbody><tr><td align="center"><mark style="color:blue;"><strong>Section spacing</strong></mark></td><td><a href="/pages/CBsbGCpJAMAjEg83Oxwb#section-padding">/pages/CBsbGCpJAMAjEg83Oxwb#section-padding</a></td></tr><tr><td align="center"><mark style="color:blue;"><strong>Section animations</strong></mark></td><td><a href="/pages/CBsbGCpJAMAjEg83Oxwb#section-animations">/pages/CBsbGCpJAMAjEg83Oxwb#section-animations</a></td></tr></tbody></table>

## 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** 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:

   ![](/files/tOHF9cG7TWZSPV5YgAH3)

   > 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>

Click a contact field or option **Block** to find the following settings.

<table><thead><tr><th width="180">Setting</th><th>Description</th></tr></thead><tbody><tr><td><mark style="color:blue;">Label</mark></td><td>Add text to display a label above the field or option.</td></tr><tr><td><mark style="color:blue;">Required</mark></td><td>Choose whether to make a field or option required to submit a message.</td></tr><tr><td><mark style="color:blue;">Block width</mark></td><td>Change the width of the block to display the Full width of the section or Half width.<br><br>On mobile, all blocks appear full width.</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>

## Section header

***

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

`Click Contact form section to find settings`

<table><thead><tr><th width="220">Setting</th><th>Description</th></tr></thead><tbody><tr><td><mark style="color:blue;">Center header content</mark></td><td>Position the section headings in the center.</td></tr><tr><td><mark style="color:blue;">Accent</mark></td><td>Enter text to display a small label above the heading.</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>Adjust the text size between small (<strong>1</strong>) and large (<strong>8</strong>)</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>

## Change content width

***

Adjust the **content width** of the contact form area.

`Click Contact form section to find settings`

<table><thead><tr><th width="203">Setting</th><th>Description</th></tr></thead><tbody><tr><td><mark style="color:blue;">Content width</mark></td><td>Display the section at Full width or use the slider to set a <strong>custom width</strong></td></tr><tr><td><mark style="color:blue;">Custom content width</mark></td><td>Set the maximum width of the section: between 400 and 1200 pixels.<br><br>The section will change in size to fit smaller screen sizes.</td></tr></tbody></table>

***

> **Related links**
>
> [Contact page](/cornerstone/pages/templates/contact-page.md)\
> [Newsletter](/cornerstone/pages/theme-sections/newsletter.md)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://help.fluorescent.co/cornerstone/pages/theme-sections/contact-form.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
