Contact page

Template

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 FAQ section to answer common questions about your products

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

Create page and assign template


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

1

From your Shopify admin, go to Online store > Pages. Click Add page.

Pages are a Shopify feature: learn more in Shopify's guide for creating pages ↗.

2

Enter a page Title (e.g. "Contact us").

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.

3

Click the Theme template dropdown to assign the contact template to the page.

If the theme isn't published, learn how to assign templates from unpublished themes

4

Click Save.

Customize contact page layout


In the theme editor, you can customize the contact page template using theme sections.

By default, the Contact template includes the contact form and a FAQ section for common questions. You can add other theme sections to further customize your page.

1

Open "contact" template

In your Theme editor, use the template selector to open the contact template.

2

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.

3

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.

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.

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.

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.

Contact form 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.

Section style and layout


Adjust the overall section style by changing the content width and spacing above and below the section.

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.

Top spacing

Increase or decrease the amount of space above the section.

Bottom spacing

Increase or decrease the amount of space below the section.

Enable animation

Choose whether to display visual effects when scrolling, hovering, or interacting with the section. See the Animation guide to learn more.


Related links

Templates

Last updated