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.

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

Editing templates will change all pages that use the same template. Create new templates for different page layouts, or show dynamic page content in the same template.

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.

Section spacing

Section animations

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.

STEPS: Add contact form blocks

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.

  2. (Optional.) Click and hold the drag handles ⋮⋮ to rearrange the blocks:

    Click Remove block or the eye icon to delete or hide a block.

  3. Click Save.

Contact form blocks

Email

A text field for your customer's email.

Phone

text field for the customer's phone number.

Text line

Show a text field for customers to add a single word or line.

Text area

Show a text field for customers to add multiple lines.

Checkbox option

Add multiple checkboxes that allow for more than one selection.

Radio buttons

A list of buttons for multiple options that requires a single choice.

Select dropdown

Show a menu of multiple options that requires a single choice.

Heading

Enter text to display as a title above any blocks.

Spacer

Add a margin of space between other blocks.

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

Setting
Description

Label

Add text to display a label above the field or option.

Required

Choose whether to make a field or option required to submit a message.

Block width

Change the width of the block to display the Full width of the section or Half width. On mobile, all blocks appear full width.

Show reCAPTCHA terms


Click Contact form section to find settings

Setting
Description

Show reCAPTCHA terms

Show the terms of service and privacy policy for Google's reCAPTCHA form. Google reCAPTCHA is enabled by default on all Shopify stores to minimize spam from bots.

Section header


Customize the section Headings, including font size and alignment.

Click Contact form section to find settings

Setting
Description

Center header content

Position the section headings in the center.

Accent

Enter text to display a small label above the heading.

Heading

Enter text to display a section title in the top-left corner.

Heading size

Adjust the text size between small (1) and large (8)

Subheading

Enter text to display a section subheading below the heading. Use the formatting buttons to add text styles, links, or lists.

Change content width


Adjust the content width of the contact form area.

Click Contact form section to find settings

Setting
Description

Content width

Display the section at Full width or use the slider to set a custom width

Custom content width

Set the maximum width of the section: between 400 and 1200 pixels. The section will change in size to fit smaller screen sizes.


Related links

Contact page Newsletter

Last updated

Was this helpful?