Skip to content
Faith
⌘K
Skip to content

Contact form

Overview

The Contact form section shows an image next to a form that customers fill out to send you a message, for example Get in Touch. You build the form yourself, field by field: name, email, phone, subject, message, dropdowns, radio buttons and checkboxes. Messages go to the store’s sender email, which you set in Settings → Notifications. The section has two parts: Image and Form.

How to use

  1. Go to Online Store → Themes → Customize and open the Contact page template.
  2. Click Add section → Contact form, or select an existing one.
  3. Select the Image block, then choose an image and its position.
  4. Select the Form block and edit the Heading and Text. Add, remove or reorder Field blocks, and set the Submit button.
  5. Back on the section, choose the Color scheme and Gap between image and form.
  6. Set the Section width and Padding.
  7. Click Save.

Settings

SettingsDescription
Color SchemeSelect a predefined color scheme for the section background.
Gap Between Image and FormAdjust the space between the image and the form (0–80 px).
Section WidthSet how wide the section is: Same as theme, Full width, Wide, Standard, Narrow or Custom. This overrides the theme Content width for this section only.
Custom Section WidthAppears when Section width is Custom. Set an exact width (600–2000 px).
PaddingChoose Desktop or Mobile under Devices, then adjust the Top and Bottom spacing of the section for that device.

Tip: To check where messages are sent, go to Settings → Notifications → Sender email. Send a test message from your live store after setting up the form.

Image Block

Overview

The Image block shows a photo beside the form. You can place it on either side, set its width and shape, or hide it so the form uses the full width. This block is part of the section and cannot be removed.

How to use

  1. Expand Contact form and select Image.
  2. Make sure Show image is on, then select an Image.
  3. Choose the Position, Width and Image ratio.
  4. Set the Corner radius, and choose whether to show the image on mobile.
  5. Click Save.

Settings

SettingsDescription
Show ImageShow the image next to the form. Turn this off to let the form use the full width.
ImageAppears when Show image is on. Select the image. A placeholder is shown until you choose one.
PositionAppears when Show image is on. Place the image to the Left or Right of the form.
WidthAppears when Show image is on. Set how much of the row the image takes up (25–60%).
Image RatioAppears when Show image is on. Choose the image shape: Match form height, Original, Square, Portrait 4:5, Portrait 3:4, Landscape 4:3, Landscape 3:2 or Wide 16:9. Match form height stretches the image to the height of the form. On mobile, the image shows at 4:3.
Corner RadiusAppears when Show image is on. Customize the rounded corners of the image (0–60 px).
Show on MobileAppears when Show image is on. Show the image on mobile. Turn this off to keep the form near the top of the page on phones.

Form Block

Overview

The Form block is the card that holds the form. It contains a Heading, Text, Field blocks, Subheading blocks and the Submit button. Its settings control the card style and how the fields are laid out in columns. This block is part of the section and cannot be removed.

How to use

  1. Expand Contact form and select Form.
  2. Under Card, choose the Color scheme, Show border and Corner radius.
  3. Under Fields, set the columns for desktop and mobile, the Label style, the Field height and the gaps.
  4. Click Add block to add a Field, Heading, Subheading, Text or Submit button. Drag the blocks to reorder them.
  5. Click Save.

Settings

SettingsDescription
Color SchemeSelect a predefined color scheme for the form card.
Show BorderAdd a border around the form card.
Corner RadiusCustomize the rounded corners of the form card (0–60 px).
Columns on DesktopSet how many fields sit side by side on desktop (1–3). Fields set to Full row always take the whole row.
Columns on MobileSet how many fields sit side by side on mobile: 1 or 2.
Label StyleChoose where field labels appear: Inside the field or Above the field.
Field HeightAdjust the height of the input fields (40–80 px).
Gap Between ColumnsAdjust the horizontal space between fields (0–48 px).
Gap Between RowsAdjust the vertical space between rows of fields (0–48 px).

Blocks: Heading, Text and Subheading are common blocks. See their articles for settings.

Field Block

Overview

A Field block adds one input to the form, such as Name, Email, Subject or Message. Choose the field type, label, icon and width, and whether customers must fill it in. Add as many fields as you need.

How to use

  1. Expand Contact form → Form, then select a Field, or click Add block → Field.
  2. Choose the Field type, for example Name, Email or Long text.
  3. Enter the Label, and optionally a Placeholder and Help text.
  4. For Dropdown, Radio buttons or Checkboxes, enter the Options, one per line.
  5. Turn on Required if customers must fill it in.
  6. Choose the Width and an Icon.
  7. Click Save.

Settings

SettingsDescription
Field TypeChoose the kind of input: Text, Name, Email, Phone number, Number, Date, Long text, Dropdown, Radio buttons or Checkboxes.
LabelEnter the field label, for example Name or Message. This is also the field name in the email you receive.
OptionsAppears when Field type is Dropdown, Radio buttons or Checkboxes. Enter one option per line. A Checkboxes field with no options shows one checkbox, with the label as its text. Use this for a consent checkbox, for example.
RowsAppears when Field type is Long text. Set the height of the message box, in lines of text (2–12).
PlaceholderAppears for all field types except Dropdown, Radio buttons, Checkboxes and Date. Enter sample text shown inside the empty field. It is shown when labels sit above the fields.
Help TextEnter a short hint shown below the field.
RequiredMake customers fill in this field before they can send the form. Required fields are marked with an asterisk (*).
WidthChoose One column to place the field beside others, or Full row to give it the whole row.
IconShow an icon inside the field: None, Person, Open envelope, Email, Phone, File, Pencil, Chat, Calendar, Clock, Location, Address book, Tag or Question.

Tip: Use the Email field type for the customer’s email address, so the browser checks the format and you can reply straight from your inbox. Keep the form short. Name, Email and Message are usually enough.

Submit Button Block

Overview

The Submit button sends the form. You can change its label, style, icon and width.

How to use

  1. Expand Contact form → Form and select Submit button.
  2. Enter the Label, for example Send.
  3. Choose the Style, Icon and Width.
  4. Click Save.

Settings

SettingsDescription
LabelEnter the button text, for example Send message.
StyleChoose the button style: Primary or Secondary. Styles are set in Theme settings → Buttons.
IconShow an icon on the button: None, Diagonal arrow, Arrow, Chevron or Email.
WidthChoose Fit to size the button to its text, or Fill to stretch it across the form.

Tip: Keep the Submit button as the last block in the form, so customers see it after the fields.

Was this helpful?
Previous Collection Banner Next Custom Liquid