Skip to main content
The Divi Contact Form Module

How to add, configure and customize the Divi contact form module.

Updated over 3 months ago

The Divi Contact Form module makes contacting you easy for your website visitors. The contact form module has input fields, an email field, a textarea, checkboxes, radio buttons, and dropdown capabilities.

You can make fields required to fill out, integrate with spam protection, and customize email notifications and the success message.

How To Add The Divi Contact Form Module To Your Page

  1. Add a new page or edit an existing page.
    By default, the Standard Gutenberg Editor loads whenever a new post or page is added to WordPress.

  2. Click the purple button underneath the page title. Use The Divi Builder.

Divi Contact Form Module

Once clicked, the page will be reloaded with the Divi Visual Builder.

As your page reloads, you'll notice three options:

  • Build From Scratch

  • Choose A Premade Layout

  • Build with AI

Build From Scratch

This option loads the Divi Builder with a blank page design. Choose this option if you'd like to start your page design from Scratch.

Choose a Premade Layout

This option lets you choose from our large library of pre-designed Divi layouts. You can choose from premade layouts by Divi, which you've designed and saved to your Divi Library, and existing pages on your website that you can clone.

Build with AI

This option allows you to create an entire page layout using Divi AI. Using your text prompt and information about your website, you can create the perfect page outline, then build it and fill it with content and imagery, bringing it all to life in no time.

Add the Contact Form Module

  1. Click the green + icon to insert a Row.

  2. Click the gray + icon inside the Row to open the Divi Module Library, which contains all the modules included with the Divi theme.

  3. Find the Contact Form module and click on it to load the module.
    The module library is also searchable. Type the module name you want in the search bar at the top.

Add the Contact Form module

Note: When the Contact Form module is added to your pages, it will display three default fields:

  1. Name

  2. Email

  3. Message

Anyother fields you are adding, are considered to be custom fields and those should be included in the Message Pattern area in order to have them displayed in your email.

All Contact Form Module Options Explained

The settings automatically pop up once you’ve added the Contact Form module. This is where this module's content and design styles are configured. These settings are organized into three groups via the tabs at the top of the module: Content, Design, and Advanced.

How to use the Divi Contact Form Module

How to Add a New Field

The module settings automatically pop up when the Contact Form is first loaded. In this window are fields for:

  • Name,

  • Email

  • Message

Those three fields are the default Contact Form module fields.

To add a new field, click Add New Field. To remove a field, click the trash icon to the right of that field. To access the settings for an individual field, click the gear icon on the left of that field.

Contact Form Module's add a new field

Field Content Options

This tab is where you can edit the content of the field. There are a lot of similar design settings available to individual fields and the module as a whole.

Text

  • Field ID - The field ID is the unique tag associated with this field. You can use unique tags to customize the format of form submissions sent to your email.

Important Note: The field's ID cannot contain special characters such as: ±, !,@,#,$,%,^,&,*,(,),+,|,\,/,~. For each field's ID, we can only use lower and uppercase English letters.

Also, the field's ID cannot contain any spaces. All spaces should be converted to _

  • Title - Type the descriptor text you want displayed with this field here.

Contact Form Module's Field Text settings

Field Options

By default, an input field is added.

To change the field type, click on Field Options and select the one you want from the dropdown menu. The options are:

  • Input field - for text inputs,

  • Email field - for email address inputs,

  • Textarea - for multi-column text inputs, such as a Message field.

  • Checkboxes - used to create a multi-selection form element where the user can check multiple options.

  • Radio buttons - similar to checkboxes, but with the major difference that the user can only check a single radio button

  • Select dropdown - used to create a dropdown list of options.

You can set a minimum and maximum length and allowed symbols for input fields.

Example: if the input field is for collecting a phone number, you can select Numbers Only (0-9) so that phone numbers must be entered numerically.

Note: If you would like this field to be required to be filled out before the form can be submitted, then toggle the Required Field to yes.

Contact Form Module's Field Types settings

Conditional Logic

  • Enable - If you want to apply conditional logic to this field item, enable this option.

  • Relation - Choose whether you want all conditions to be met or any conditions to be met for this field to show.

  • Rules - This is where you configure the rules. For example, you could have a selection of services show only after the user has selected their location so that they can select a service specific to where they live.

Contact Form Module's Field Conditonal Logic settings

Link

If you want to apply a clickable link to this field, you can do so here.

  • Module Link URL - Paste the URL you want to apply to the field here. This makes the entire field clickable, and when clicked, it will direct visitors to the URL pasted here.

Note: To fill in the fields, users must click on the field to type in it or select a checkbox, etc. Adding a link here might only be advisable for some situations.

  • Module Link Target - Defining a link target determines whether the link, when clicked, opens in a new tab or the same window.

    • In The Same Window - if you want the link to open in the same window

    • In The New Tab - if you want that link to open in a new tab.

Contact Form Module's Field Link settings

Background

In the Background option group, the following options can be set:

  • Background Color

  • Background Gradient

  • Background Image

  • Background Video

  • Background Pattern

  • Background Mask

How to Add a Background Color

  1. Click the first tab, the Paint Bucket icon.

  2. Click Add Background Color and choose from your site's color palette, or use the eyedropper icon to find a new color.

How to Add a Background Gradient

  1. Click the second tab, the Gradient icon,

  2. Click Add Background Gradient.
    To change the gradient colors, click on the gradient stops and select a color from your site’s color palette or use the eyedropper icon to choose a new color. Gradient stops allow you to add more colors to the gradient. Click anywhere on the range slider to add a new stop.

Background Gradient options

  • Gradient Type - You can change the gradient type by clicking the dropdown menu and selecting the desired one.

  • Gradient Direction - You can change the direction of the gradient by dragging the range slider or typing in a numerical value.

  • Repeat Gradient - Toggle this option to yes if you want the gradient to repeat.

  • Gradient Unit - The gradient unit changes how the gradient stop points are calculated. Select the dropdown to change the unit.

  • Place Gradient Above Background Image - If a background image is applied, you can place the gradient above the background image by toggling this option to yes.

How to Add a Background Image

  1. Click the third tab, the Image icon.

  2. Click the gray + icon to bring up the Media Library, where you can select an already uploaded photo from your library or upload a new one.

Background Image options

  • Use Parallax Effect - To apply a parallax effect to the image (where the image scrolls faster than the foreground content, giving the illusion of a 3D effect), then toggle this option to on. By default, this setting is set to off.

  • Background Image Size - Choose the size of your background image by selecting a size from the dropdown menu.

  • Background Image Position - Choose the position of the background image by selecting a position from the dropdown menu.

  • Background Image Repeat - Choose if and how the background image repeats by selecting an option from the dropdown menu.

  • Background Image Blend - Choose how the background blends with other layers in the module by selecting an option from the dropdown menu.

How To Add a Background Video

  1. Click the fourth tab, the Video icon.

  2. Click the gray + icon to bring up the media library, where you can select an already uploaded photo from your library or upload a new one.

Background Video options

  • Mp4 vs Webm. - We recommend uploading both a mp4 version and a webm version of the video because not all browsers support webm video formats. Uploading both file types ensures your video will play on all devices and browsers.

  • Background Video Width - Set the video's width by typing in a numerical value.

  • Background Video Height - Se the height of the video by typing in a numerical value.

  • Pause Video When Another Video Plays - If you’d like the background video to pause when another video is playing, toggle that option to yes. By default, the video will pause when not in view. If you want the video to continue, toggle this option to no.

How to Add a Background Pattern

  1. Click the 5th tab, the Pattern icon

  2. Click Add Background Pattern.
    Choose the pattern type you want from the dropdown

Background Pattern options

  • Pattern Color - Select the pattern color from your site’s color palette or use the eyedropper icon to find a new color.

  • Pattern Transform - This is where you can transform the pattern horizontally, vertically, rotate it, or invert it.

  • Pattern Size - Pattern size is where you can select the pattern size: the actual size, cover, fit, stretch to fill or custom size. If you select custom size, the following options will appear: pattern width and pattern height. Drag the range slider or type in a numerical value to define those options.

  • Pattern Repeat Origin - Here, you can select the origin from which the pattern repeats.

  • Pattern Horizontal and Vertical Offset - You can also adjust the horizontal and vertical offsets for the pattern.

  • Pattern Repeat - Here, you can choose how the pattern repeats – horizontally, vertically, and more.

  • Pattern Blend Mode - This defines how the pattern layer interacts with the layers beneath it. Select from one of the 16 blend modes available from the dropdown.

How to Add a Background Mask

  1. Click the 6th tab, the Mask icon,

  2. Click Add Background Mask. Select the mask type you want via the dropdown menu.

Background Mask options

  • Mask Color - Choose the mask color from your site’s color palette, or use the eyedropper icon to find a new color.

  • Mask Transform - Here, you can transform the mask horizontally, vertically, rotate it, or invert it.

  • Mask Aspect Ration - Here, you can set the aspect ratio of the mask. The aspect ratio of an image is the ratio of its width to its height.

  • Mask Size - You can select the mask size: the actual size, cover, fit, stretch to fill or custom size. If you select custom size, the following options will appear: mask width and height. Drag the range slider or type in a numerical value to define those options.

  • Mask Blend Mode - This defines how the mask layer interacts with the layers beneath it. Select from one of the 16 blend modes available from the dropdown.

Contact Form Module's Field Background Mask settings

Field Design Tab

Layout

  • Make Fullwidth - Toggle this option yes to make the field full-width or no to make it half-width.

Contact Form Module's Field Layout settings

Fields

If you would like to apply unique styles to an individual field, this is where you do that.

  • Fields Background Color - Choose a background color for the comment section fields. Select from your site’s color palette or click the eyedropper icon to find a new color.

  • Fields Text Color - Choose the color of the text inside the fields. Select from your site’s color palette or click the eyedropper icon to find a new color.

  • Fields Focus Background Color - Choose a background color for currently used fields. So, for example, you could change the background color when a visitor clicks on that field and starts typing. Select from your site’s color palette or click the eyedropper icon to find a new color.

  • Fields Focus Text Color - Choose the color of the focus text. Select from your site’s color palette or click the eyedropper icon to find a new color.

  • Fields Margin - Margins add space around the element. If you'd like to add space around the fields, do so here by typing in a numerical value in the text boxes or using the arrows to increase or decrease the margins.

  • Fields Padding - Padding adds space inside the element. If you'd like to add space inside the fields, do so here by typing in a numerical value in the text boxes or using the arrows to increase or decrease the padding.

  • Fields Font - Choose the font you want to use for the text. The default font is automatically selected; however, you can choose a different font or upload a custom font by clicking the dropdown box.

  • Fields Font Weight - Click the dropdown to select the boldness of the field font.

  • Fields Font Style - Choose the style of the field font:

    • Italicized

    • Capitalized

    • Small capitals

    • Underlined

    • Strike-through

  • Fields Text Alignment - Choose the text alignment specifically to the field text only:

    • Left

    • Center

    • Right

    • Justify

  • Fields Text Size - Choose the font size of the field text by dragging the range slider or typing in a numerical value.

  • Fields Letter Spacing - Choose the letter spacing of the field text by dragging the range slider or by typing in a numerical value. Letter spacing is the space between each letter. The higher the number, the more space.

  • Fields Line Height - Choose the line height of the field text by dragging the range slider or by typing in a numerical value. The line height is the amount of space between each line of text. The higher the number, the more space.

  • Fields Text Shadow - Add a drop shadow to the field text. Once a style is selected, you can configure the direction of the shadow (horizontal and vertical), the strength of the drop shadow blur, and the shadow color.

  • Fields Rounded Corners - If you want to round the corners of the fields, type in a numerical value. The higher the number, the rounder the corners will be. The corner values are automatically linked (as seen by the highlighted blue chainlink in the middle); however, if you’d like to have different values for each corner, click the blue chainlink to unlink the values. If the values are automatically linked, they will always have the same value and update automatically if one value is changed.

  • Fields Border Styles - This is where you can add a border to the fields. You can add a border to all sides of the field or individual sides (top, right, bottom, and left).

  • Fields Border Width - This is where you set the width of the border. For a thicker border, increase the number. The border width must be at least 1px to show.

  • Fields Border Color - This is where you can pick the border's color. You can select a color from your default site color palette that is already displayed or click on the eyedropper icon to find a new color.

  • Fields Border Style - Here, you can select the border style you’d like: solid, dashed, dotted, double, groove, ridge, inset, outset, or none.

  • Use Focus Borders - Toggle this option to yes if you'd like to add a border to fields in focus.

Contact Form Module's Field individual settings

Note: The rest of the design and advanced settings that can be applied individually to fields can also be set at the module level, which we will review below.

Content Tab

Inside this tab, you’ll find the content options available for the Contact Form module. The Contact Form module has both global module settings and individual style and design settings for the contact form fields.

That means you can customize each field item further if desired.

Contact Form Module's Content Tab settings

Text

  • Title - If you want to add a title to your contact form, type that here.

  • Success Message -Type the message you want to be displayed after a successful form submission. Leave this field blank if you want the default success message to display.

  • Submit Button - Defines the text that the Submit button shows.

Contact Form Module's Text settings

Email

Note: To ensure that contact form submissions get delivered to your email address, we recommend using a service such as Mandrill or SendGrid to ensure these emails go through.

  • Email Address - Type the email address to which you would like the contact form submission to here.

  • Message Pattern - Define how contact form submission information looks in the email client. To include a field, use the following format: %%field_id%%.

Example: to include a field with id = phone and the field with id message, this is how that would look:

My message is %%message%% and my phone number is %%phone%%.

Note: Leave this field blank if you’d like to use the default formatting, which lists the fields in order.

Redirect

Define the redirect URL to which the users will be redirected after a successful form submission.

  • Enable Redirect URL - Toggle this option to yes if you'd like to redirect users to another web page after a successful form submission. If this is toggled on, then the following option will appear. If this option is toggled to no, users will not be redirected, and instead, a Thank you message will be displayed.

  • Redirect URL - Put the URL you'd like visitors to be redirected to here.

Contact Form Module's Redirect settings

Spam Protection

Enabling spam protection helps prevent fake submissions from bots. The Contact Form module comes with the ability to use a basic captcha math problem.

However, you can also use a 3rd party spam protection service like Google reCAPTCHA. To use Google reCAPTCHA, you'll need to have a Google account. You can register for a free Google account if you do not have one.

  • Use A Spam Protection Service - Toggle this option to yes if you’d like to use a third-party spam protection service like Google reCAPTCHA.

  • Service Provider - Click the dropdown and choose ‘ReCaptcha’ to use Google reCAPTCHA.

  • reCaptcha v3 account - Click the dropdown and select add account. Navigate to the reCAPTCHA website and follow these instructions on how to create a reCAPTCHA key for your site. Once your site keys are created, add the account name, the site key (v3) and the secret key (v3).

  • Minimum Score - Choose a minimum score that determines whether or not a bot or human is interacting with the contact form. A score between 0 and 1 is likely a good interaction, and 0 is likely a bot. The minimum score is 0.5 by default.

  • Use Basic Captcha - Basic Captcha is a simple math problem. Toggle this option to yes to enable basic captcha functionality to the contact form.

Contact Form Module's Spam Protection settings

Link

If you would like to apply a clickable link to the entire module, you can do so here.

  • Module Link URL - Paste the URL of the link you would like to apply to this module here. This makes the entire module clickable, and when clicked, it will direct visitors to the URL pasted here.

  • Module Link Target - Defining a link target determines whether the link, when clicked, opens in a new tab or in the same window.

    • In The Same Window - if you want the link to open in the same window

    • In The New Tab - if you want that link to open in a new tab.

Contact Form Module's Link settings

Background

In the Background option group, the following options can be set:

  • Background Color

  • Background Gradient

  • Background Image

  • Background Video

  • Background Pattern

  • Background Mask

How to Add a Background Color

  1. Click the first tab, the Paint Bucket icon.

  2. Click Add Background Color and choose from your site's color palette, or use the eyedropper icon to find a new color.

Contact Form Module's Background Color settings

How to Add a Background Gradient

  1. Click the second tab, the Gradient icon,

  2. Click Add Background Gradient.
    To change the gradient colors, click on the gradient stops and select a color from your site’s color palette or use the eyedropper icon to choose a new color. Gradient stops allow you to add more colors to the gradient. Click anywhere on the range slider to add a new stop.

Background Gradient options

  • Gradient Type - You can change the gradient type by clicking the dropdown menu and selecting the desired gradient type.

  • Gradient Direction - You can change the direction of the gradient by dragging the range slider or typing in a numerical value.

  • Repeat Gradient - Toggle this option to yes if you want the gradient to repeat.

  • Gradient Unit - The gradient unit changes how the gradient stop points are calculated. Select the dropdown to change the unit.

  • Place Gradient Above Background Image - If you have a background image applied, you can place the gradient above the background image by toggling this option to yes.

Contact Form Module's Background Gradient settings

How to Add a Background Image

  1. Click the third tab, the Image icon.

  2. Click the gray + icon to bring up the Media Library, where you can select an already uploaded photo from your library or upload a new one.

Background Image options

  • Use Parallax Effect - To apply a parallax effect to the image (where the image scrolls faster than the foreground content, giving the illusion of a 3D effect) then toggle this option to on. By default, this setting is set to off.

  • Background Image Size - Choose the size of your background image by selecting a size from the dropdown menu.

  • Background Image Position - Choose the position of the background image by selecting a position from the dropdown menu.

  • Background Image Repeat - Choose if and how the background image repeats by selecting an option from the dropdown menu.

  • Background Image Blend - Choose how the background blends with other layers in the module by selecting an option from the dropdown menu.

Contact Form Module's Background Image settings

How To Add a Background Video

  1. Click the fourth tab, the Video icon.

  2. Click the gray + icon to bring up the media library, where you can select an already uploaded photo from your library or upload a new one.

Background Video options

  • Mp4 vs WebM. - We recommend uploading both a mp4 version and a webm version of the video because not all browsers support WebM video formats. Uploading both file types ensures your video will play on all devices and browsers.

  • Background Video Width - Set the video's width by typing in a numerical value.

  • Background Video Height - Se the height of the video by typing in a numerical value.

  • Pause Video When Another Video Plays - If you’d like the background video to pause when another video is playing, toggle that option to yes. By default, the video will pause when not in view. If you want the video to continue, toggle this option to no.

Contact Form Module's Background Video settings

How to Add a Background Pattern

  1. Click the 5th tab, the Pattern icon

  2. Click Add Background Pattern.

  3. Choose the pattern type you want from the dropdown

Background Pattern options

  • Pattern Color - Select the pattern color from your site’s color palette or use the eyedropper icon to find a new color.

  • Pattern Transform - This is where you can transform the pattern horizontally, vertically, rotate it, or invert it.

  • Pattern Size - Pattern size is where you can select the pattern size: the actual size, cover, fit, stretch to fill or custom size. If you select custom size, the following options will appear: pattern width and pattern height. Drag the range slider or type in a numerical value to define those options.

  • Pattern Repeat Origin - Here, you can select the origin from which the pattern repeats.

  • Pattern Horizontal and Vertical Offset - You can also adjust the horizontal and vertical offsets for the pattern.

  • Pattern Repeat - Here, you can choose how the pattern repeats – horizontally, vertically, and more.

  • Pattern Blend Mode - This defines how the pattern layer interacts with the layers beneath it. Select from one of the 16 blend modes available from the dropdown.

How to Add a Background Mask

  1. Click the 5th tab, the Pattern icon

  2. Click Add Background Pattern

  3. Choose the pattern type you want from the dropdown

Background Pattern options

  • Mask Color - Choose the mask color from your site’s color palette, or use the eyedropper icon to find a new color.

  • Mask Transform - Transform the mask horizontally, vertically, rotate, or invert.

  • Mask Aspect Ration - Set the aspect ratio of the mask. The aspect ratio of an image is the ratio of its width to its height.

  • Mask Size - Select the mask size: the actual size, cover, fit, stretch to fill or custom size. If you select custom size, the following options will appear: mask width and height. Drag the range slider or type in a numerical value to define those options.

  • Mask Blend Mode - Defines how the mask layer interacts with the layers beneath it. Select from one of the 16 blend modes available from the dropdown.

Contact Form Module's Background Pattern settings

Admin Label

The Admin Label is where you can give the module a name only visible to you to assist in keeping things organized and easy to understand on the back end. By default, the admin label will be the name of the module. You can change the text of the admin label to reflect what you’d like.

Contact Form Module's Admin Label settings

Design Tab

All the design styles and options for the Divi Contact Form module are in this tab.

This is where you set the design style for the entire module; however, you can customize each field individually using their content, design, and advanced settings.

Contact Form Module's Desing Tab settings

Fields

Style the contact form fields here.

  • Fields Background Color - Choose a background color for the comment section fields. Select from your site’s color palette or click the eyedropper icon to find a new color.

  • Fields Text Color - Choose the color of the text inside the fields. Select from your site’s color palette or click the eyedropper icon to find a new color.

  • Fields Focus Background Color - Choose a background color for currently used fields. So, for example, you could change the background color when a visitor clicks on that field and starts typing. Select from your site’s color palette or click the eyedropper icon to find a new color.

  • Fields Focus Text Color - Choose the color of the focus text. Select from your site’s color palette or click the eyedropper icon to find a new color.

  • Fields Margin - Margins add space around the element. If you'd like to add space around the fields, do so here by typing in a numerical value in the text boxes or using the arrows to increase or decrease the margins.

  • Fields Padding - Padding adds space inside the element. If you'd like to add space inside the fields, do so here by typing in a numerical value in the text boxes or using the arrows to increase or decrease the padding.

  • Fields Font - Choose the font you want to use for the text. The default font is automatically selected; however, you can choose a different font or upload a custom font by clicking the dropdown box.

  • Fields Font Weight - Click the dropdown to select the boldness of the field font.

  • Fields Font Style - Choose the style of the field font:

    • Italicized

    • Capitalized

    • Small capitals

    • Underlined

    • Strike-through

  • Fields Text Alignment - Choose the text alignment to the field text only:

    • Left

    • Center

    • Right

    • Justify

  • Fields Text Size - Choose the font size of the field text by dragging the range slider or typing in a numerical value.

  • Fields Letter Spacing - Choose the letter spacing of the field text by dragging the range slider or by typing in a numerical value. Letter spacing is the space between each letter. The higher the number, the more space.

  • Fields Line Height - Choose the line height of the field text by dragging the range slider or by typing in a numerical value. The line height is the amount of space between each line of text. The higher the number, the more space.

  • Fields Text Shadow - Add a drop shadow to the field text. Once a style is selected, you can configure the direction of the shadow (horizontal and vertical), the strength of the drop shadow blur, and the shadow color.

  • Fields Rounded Corners - If you want to round the corners of the fields, type in a numerical value. The higher the number, the rounder the corners will be. The corner values are automatically linked (as seen by the highlighted blue chainlink in the middle); however, if you’d like to have different values for each corner, click the blue chainlink to unlink the values. If the values are automatically linked, they will always have the same value and update automatically if one value is changed.

  • Fields Border Styles - This is where you can add a border to the fields. You can add a border to all sides of the field or individual sides (top, right, bottom, and left).

  • Fields Border Width - This is where you set the width of the border. For a thicker border, increase the number. The border width must be at least 1px to show.

  • Fields Border Color - This is where you can pick the border's color. You can select a color from your default site color palette that is already displayed or click on the eyedropper icon to find a new color.

  • Fields Border Style - Select what border style you’d like: solid, dashed, dotted, double, groove, ridge, inset, outset, or none.

  • Use Focus Borders - Toggle this option to yes if you'd like to add a border to fields in focus.

Contact Form Module's Field settings

Text

This sets the overall text styles for this module; however, you can set specific styles of specific text in other toggles like Comment Count Text, Body Text, and Position Text.

  • Text Alignment - Choose the text alignment:

    • Left

    • Center

    • Right

    • Justify

  • Text Color - Select this module's default text color palette: light or dark. The default light color palette and dark color palettes can be configured in the Divi Theme Options.

  • Text Shadow - Define a drop shadow to all the text inside this module. When a shadow type is selected, it will apply to all the content, both the number and the form title text.

Contact Form Module's Text settings

Title Text

These are the settings for specific styling and configuration for the Title Text.

  • Text Heading Level - Choose the heading level assigned to the form title text: h1, h2, h3, h4, h5, or h6.

  • Title Font - Choose the font you want for the form title text. The default font is automatically selected; however, you can choose a different font or upload a custom font by clicking the dropdown box.

  • Title Font Weight - Click the dropdown to select the boldness of the form title text font.

  • Title Font Style - Choose the style of the title text font:

    • Italicized

    • Capitalized

    • Small capitals

    • Underlined

    • Strike-through

  • Title Text Alignment - Choose the text alignment specifically to the form title text only:

    • Left

    • Center

    • Right

    • Justify

  • Title Text Color - Choose a specific color for the form title text. Select from your site’s color palette or click the eyedropper icon to find a new color.

  • Title Text Size - Choose the font size of the form title text by dragging the range slider or typing in a numerical value.

  • Title Letter Spacing - Choose the letter spacing of the form title text by dragging the range slider or by typing in a numerical value. Letter spacing is the space between each letter. The higher the number, the more space.

  • Title Line Height - Choose the line height of the form title text by dragging the range slider or by typing in a numerical value. The line height is the amount of space between each line of text. The higher the number, the more space.

  • Title Text Shadow - You can add a drop shadow to the form title text. Once a style is selected, you can configure the direction of the shadow (horizontal and vertical), the strength of the drop shadow blur, and the shadow color.

Contact Form Module's Title Text settings

Captcha Text

These are the settings for specific styling and configuration for the Captcha Text only, which displays the blog post info (like author name, post date, post category, and comments count).

  • Captcha Font - Choose the font you want to use for the captcha text. The default font is automatically selected; however, you can choose a different font or upload a custom font by clicking the dropdown box.

  • Captcha Font Weight - Click the dropdown to select the boldness of the captcha text font.

  • Captcha Font Style - Choose the style of the captcha text font:

    • Italicized

    • Capitalized

    • Small capitals

    • Underlined

    • Strike-through

  • Captcha Text Color - Choose a specific color for the captcha text. Select from your site’s color palette or click the eyedropper icon to find a new color.

  • Captcha Text Size - Choose the font size of the captcha text by dragging the range slider or typing in a numerical value.

  • Captcha Letter Spacing - Choose the letter spacing of the captcha text by dragging the range slider or by typing in a numerical value. Letter spacing is the space between each letter. The higher the number, the more space.

  • Captcha Line Height - Choose the line height of the captcha text by dragging the range slider or by typing in a numerical value. The line height is the amount of space between each line of text. The higher the number, the more space.

  • Captcha Text Shadow - You can add a drop shadow to the captcha text here. Once a style is selected, you can configure the direction of the shadow (horizontal and vertical), the strength of the drop shadow blur, and the shadow color.

Contact Form Module's Captcha settings

Button

By default, buttons inherit the global design styles set in the WordPress Customizer. However, you can apply custom design styles to buttons here.

  • Use Custom Styles For Button - To design a custom style for this button, toggle this option to yes. Then, the following options will appear.

  • Button Text Size - Choose the size of the button font here. Drag the range slider to adjust the size or type a numerical value in the textbook.

  • Button Text Color - Choose the color of the button font here. Select a color from your site's color palette, or use the dropper icon to find a new color.

  • Button Background - Choose the background color of the button here. Select a color from your site's color palette, or use the dropper icon to find a new color.

  • Button Border Width - Set the button border width here. Drag the range slider to adjust the width or type a numerical value in the textbox.

  • Button Border Color - Choose the color of the border here. Select a color from your site's color palette, or use the dropper icon to find a new color.

  • Button Border Radius - Set the button's border-radius here. The radius refers to how round the corners are. The higher the number, the more round the corners are. Drag the range slider to adjust the radius or type a numerical value in the textbox.

  • Button Letter Spacing - Choose the letter spacing of the title text by dragging the range slider or by typing in a numerical value. Letter spacing is the space between each letter. The higher the number, the more space.

  • Button Font - Choose the font you want for the button text. The default font is automatically selected; however, you can choose a different font or upload a custom font by clicking the dropdown box.

  • Button Font Weight - Click the dropdown to select the boldness of the button font.

  • Button Font Style - Choose the style of the button font:

    • Italicized

    • Capitalized

    • Small capitals

    • Underlined

    • Strike-through

  • Show Button Icon - Toggle this option yes or no to show or hide a button icon.

  • Button Icon - You can select the button icon here if the previous option is yes.

  • Button Icon Color - Choose the color of the icon here. Select a color from your site's color palette, or use the dropper icon to find a new color.

  • Button Icon Placement - Choose where you want the button icon to be: to the right or left of the button text.

  • Only Show Icon On Hover For Button - This option is set to yes by default, meaning the icon will only appear on hover. If you'd like the icon to always be visible, toggle this option to no.

  • Button Text Shadow - You can apply a drop shadow to the button text here. Choose the style of drop shadow you'd like to use, and you can customize it using the following options.

  • Button Text Shadow Horizontal Length - Adjusts the horizontal positioning of the text shadow.

  • Button Text Shadow Vertical Length - Adjusts the vertical positioning of the text shadow.

  • Button Text Shadow Blur Strength - Adjusts the shadow blur strength of the shadow applied to the text. The higher the number, the more blur.

  • Button Text Shadow Color - Choose the color of the text-shadow. Select a color from your site's color palette, or use the dropper icon to find a new color.

Contact Form Module's Button settings

Sizing

This option group defines the sizing (width and height) of the Contact Form module. You can also set a max-width, a max-height and a min-height for the Contact Form module.

Click the arrows to choose the module alignment (left, center, or right). By default, the Contact Form module is left-align .

  • Width - Defines the width of the module. For more information, please check out the official documentation.

  • Max Width - Defines the max-widt of the module. For more information, please check out the official documentation.

  • Module Alignment - If a Width or a Max Width value is set, the module alignment can be set using the three options:

    • Left Aligned

    • Center Aligned

    • Right Aligned

  • Min Height - Defines the minimum value for the module's height. For more information, please check out the official documentation.

  • Height - Define the height of the module. For more information, please check out the official documentation.

  • Max Height - Defines the max-height value the module can have. For more information, please check out the official documentation.

Contact Form Module's Sizing settings

Spacing

You can add margins or spacing to this module by typing in numerical values.

Margin adds space outside the module, and padding adds space inside the module. To lock in ratios and keep the values the same, click the chainlink icon between the values you want to always be identical (ex, top and bottom).

  • Default margin values for the Contact Form module are 0.

  • Default padding values for the Contact Form module are 0.

Contact Form Module's Spacing settings

Border

Add a border to the module. You can add a complete border or a border to only one side of the module. Adjust the width via the range slider and select a color. Choose a border style by clicking the dropdown.

  • Rounded Corners – Type in a numerical value for round border corners. The higher the number, the rounder the corners will be. The corner values are automatically linked (as seen by the highlighted blue chainlink in the middle); however, if you’d like to have different values for each corner, click the blue chainlink to unlink the values. If the values are automatically linked, they will always have the same value and update automatically if one value is changed.

  • Border Styles – Here, you can add a border to all sides of the module or individual sides (top, right, bottom, and left).

  • Border Width - This is where you set the width of the border. For a thicker border, increase the number. The border width must be at least 1px to show.

  • Border Color – This is where you can pick the border's color. You can select a color from your default site color palette that is already displayed or click on the eyedropper icon to find a new color.

  • Border Style – Here, you can select what border style you’d like: solid, dashed, dotted, double, groove, ridge, inset, outset, or none.

Contact Form Module's Border settings

Box Shadow

Here, you can add a drop shadow to the entire module.

Once a shadow style is clicked, you can customize the following options:

  • Box Shadow Horizontal Position - Defines the horizontal position of the drop shadow.

  • Box Shadow Vertical Position - Defines the vertical position of the drop shadow.

  • Box Shadow Blur Strength - Defines the strength of the shadow's blur. The higher the value, the bigger the blur and the wider and lighter the shadow becomes.

  • Box Shadow Spread Strength - Defines the spread strength of the blur. Increasing the spread strength will increase the density of the box shadow. Higher density results in a more intense shadow.

  • Shadow Color - Defines the shadow's color.

  • Box Shadow Position - Defines the shadow's position. It can be inside the module or outside the module.

Contact Form Module's Box Shadow settings

Filters

Adjust the module's filters:

  • Hue - Defines the hue angle of a color.

  • Saturation- Defines how intense the color saturation should be.

  • Brightness - Defines how bright the colors should be.

  • Contrast - Defines how distinct bright and dark areas should be.

  • Invert - Invert the hue, saturation, and brightness by the specified value.

  • Sepia - Defines a warmer, more yellow/brown appearance.

  • Opacity - Defines how transparent or opaque the background (color, gradient, image, etc.) should be.

  • Blur - Defines the amount of Gaussian Blur applied to the module.

The Blend Mode refers to how the module blends with the layers beneath it. By default, normal will be selected.

Contact Form Module's Filters settings

Transform

  • Scale

  • Translate

  • Rotate

  • Skew

  • Origin points

Tab through to access each option. Configure each option by inputting numerical values or dragging and expanding the box or circle.

You can lock in these values to always be identical by clicking the chain link icon at the bottom right.

Contact Form Module's Transform settings

Animation

Here, you can apply animation to the module. Once you choose a style, you can adjust the following options:

  • Animation Duration - Defines the length of time that an animation takes to complete one cycle.

  • Animation Delay - Define the amount of time to wait from applying the animation to an element before beginning to perform the animation. The animation can start later, immediately from its beginning, or immediately and partway through the animation.

  • Animation Starting Opacity - Define the starting opacity value.

  • Animation Speed Curve - Define the easing method of your animation. Easing your animation in and out will create a smoother effect than a linear speed curve.

  • Animation Repeat - By default, animations will only play once. If you want to loop your animation continuously, choose the Loop option here.

Contact Form Module's Animation settings

Advanced Tab

Within the Advanced tab, you will find options that more experienced web designers might find useful, such as custom CSS.

Here, you can apply custom CSS to your module. You can also apply custom CSS classes and IDs to the module, which can be used to customize the module's styles with more advanced CSS properties or to apply custom CSS code using the module's CSS class.

Contact Form Module's Advanced Tab settings

CSS ID & Classes

Assign a specific CSS ID or Class to this module. This is helpful when applying custom CSS to a module by using your child theme's stylesheet.

Contact Form Module's CSS ID and Classes settings

Custom CSS

  • Free-Form CSS - Write free-form CSS using the keyword selector to target this module. Example: selector h1 {color: red;}

  • Module Elements - You can also apply custom CSS to this module by pasting it in this tab. When you click on the Module Elements tab, you'll see individual sections where you can add custom CSS properties.

Contact Form Module's Custom CSS settings

Conditions

This tab allows you to choose when to display this module based on a set of conditions, like when a user is visiting the page if they've already purchased from your company before, what browser they are using, what operating system they're using, and more.

You can add one condition or multiple conditions.

Contact Form Module's Conditions settings

Visibility

  • Disable on - Defines the visibility of the module. You can disable it (hide it from view) when the display window is a Phone, Tablet, or Desktop by clicking the corresponding checkbox.

  • Horizontal Overflow - Defines what shows when content overflows a block-level element's left and right edges. This may be:

    • Visible - The content will show if the module's content overflows its height.

    • Scroll - If the module's content overflows its height, a vertical scroll bar will be used to scroll through its content.

    • Hidden - If the module's content overflows its height, the part of the content that overflows will be hidden.

    • Auto - The browser will decide whether a scroll bar will be shown.

  • Vertical Overflow - Defines what shows when content overflows a block-level element's top and bottom edges. This may be:

    • Visible - The content will show if the module's content overflows its height.

    • Scroll - If the module's content overflows its height, a vertical scroll bar will be used to scroll through its content.

    • Hidden - If the module's content overflows its height, the part of the content that overflows will be hidden.

    • Auto - The browser will decide whether a scroll bar will be shown.

Contact Form Module's Visiblity settings

Transitions

Controls the hover animation's transition duration, delay, and speed curve.

  • Transition Duration - Defines the duration (in milliseconds) of the transition of the hover animation.

  • Transition Delay - Defines the transition delay of the hover animation (in milliseconds).

  • Transition Speed Curve - Defines the transition speed curve of the hover animation.

Contact Form Module's Transition settings

Position

  • Position - This defines the position of the module:

    • Relative (default value) - The module is positioned according to the normal flow of the document, and then offset values are relative to itself based on the values of Vertical Offset and Horizontal Offset. The offset does not affect the position of any other elements; thus, the space given for the module in the page layout is the same as if the position were default (static).

    • Absolute - The module is removed from the normal document flow, and no space is created for the element in the page layout. The module is positioned relative to its closest positioned ancestor (if any) or the initial containing block. The Location options determine its final position

    • Fixed - The element is removed from the normal document flow, and no space is created for the element in the page layout. The module is positioned based on the location options in relation to the browser window. This can be used to create a sticky module.

  • Vertical Offset - Defines the module's vertical position.

  • Horizontal Offset - Defines the module's horizontal position.

  • Z-index - Defines the order of the module in the page layout. Modules with a higher z-index number overlap modules with a lower z-index.

Contact Form Module's Position settings

Scroll Effects

This defines how the module behaves upon scrolling. You can make the module sticky (to top, bottom, or top and bottom) and choose if the module transforms upon scrolling.

You can also enable vertical motion on this module, which allows you to adjust the speed at which this element scrolls (making it faster or slower) without affecting the surrounding elements.

The Motion Trigger Effect allows you to choose when the scroll effect you just applied is triggered: when the top of the element is in view, the middle, or the bottom.

Contact Form Module's Scroll Effects

Save Your Design

Once you are finished styling and configuring the module, click the green arrow at the bottom right of the module to save your design. If you close the module without saving, your work will be lost.

Next, Save the Page Design

To save the page design, you can type CMD + S on a Mac or CTRL + S on a PC. You can also use the bottom Divi toolbar to save your page design by clicking the circle purple icon with the three dots to expand the toolbar and then clicking the green Save button at the bottom right.

Exit the Visual Builder

Now that all your changes are saved, click Exit Visual Builder on the admin toolbar at the top to exit the Visual Builder.

Exit Visual Builder

Continue Learning

Did this answer your question?