Introducing styler for Gravity forms in Divi

Aug 16, 2022 | Divi Resources, General News

How to add Gravity Forms to Divi (3 embed methods)

There is more than one way to add Gravity Forms to Divi, and the right method depends on how much control you want over the result. In this guide, we cover all three ways to embed a Gravity Form on a Divi page: the Gravity Forms shortcode, the Gravity Forms block, and the Gravity Forms Styler module for the Divi Builder, which needs no shortcode at all.

Before you start, make sure Gravity Forms is installed and activated on your site and that you have at least one form ready to display. We will create a quick sample form first, then walk through each embed method so you can pick the one that fits your page.

This post focuses on adding and displaying the form. Once it is live on the page, our separate tutorial on how to style Gravity Forms in Divi shows you how to make it match the rest of your design.

What You Need Before You Start

Before adding and styling Gravity Forms in Divi, make sure you have Gravity Forms installed and activated on your WordPress site, along with the Divi Theme or Divi Builder. If you want advanced design controls without writing custom CSS, you can also install the Gravity Forms Styler plugin.

Method 1: Add a Gravity Form With the Shortcode

You can add a Gravity Form to any Divi page by using its shortcode. Copy the shortcode from your Gravity Forms dashboard and paste it into a Divi Text or Code module. Save the page, and the form will appear in that section.

Method 2: Add a Gravity Form With the Gravity Forms Block

If you’re using the WordPress Block Editor, you can add a Gravity Form with the Gravity Forms block. Insert the block, choose your form from the list, and publish or update the page. This method lets you add a form without using a shortcode.

Method 3: Add a Gravity Form With the Gravity Forms Styler Module (No Shortcode)


To add Gravity Forms to Divi pages, you might be using Shortcodes. If you want full design control without touching CSS, Gravity Forms Styler for Divi adds a dedicated Divi Builder module that both embeds and styles your form.

It’s a premium plugin that enables you to insert Gravity Forms into Divi quickly, plus style them super easily.

Gravity Forms Styler for Divi featured image

How Can This Gravity Forms Styling Plugin Help?

First, it’s purely made to support Divi and Gravity Forms. Its framework is wholly based on Divi. So, you won’t have trouble using it.

Second, there’s no need to find the answer to where to find gravity forms shortcode as the plugin offers an easy way to insert Gravity Forms into Divi pages.

Third, it has controls to style every part of a Gravity Form in Divi, which is easy to use and lightweight. Thus, making this plugin highly user-friendly to customize Gravity Forms without interfering with your website’s performance. And if we talk about what it can style, then this might satisfy you more than ever,

How to Use This Plugin to Style Gravity Forms in Divi?


The plugin is based on Divi and Gravity Forms. Therefore, ensure that your Divi Builder and Gravity Forms are active and ready to be used. Then follow the below steps to master Gravity Forms Styler for Divi.

Let’s get started!

Install and Activate Gravity Forms Styler for Divi

The installation of Gravity Forms Styler for Divi is pretty simple. All you need to do is,

Divi Extended store
Upload Gravity form styler
  • Then, upload the Zip file to your WordPress site: Go to Plugins → Add New → Upload Plugin → click Choose File.
Install Gravity form styler
  • Locate the file on your system and choose it, then click Install Now.
Activating Gravity forms styler for Divi
  • Once the plugin is installed, click Activate Plugin.

After activating the plugin, you can move to the next step. Or refer to our docs to learn more about installing Gravity Forms Styler for Divi.

Create a Form in Gravity Forms

You can skip this step if you already have a form created using Gravity Forms. Otherwise, go to Forms → click New Form.

Creating a new form in Gravity forms

Then, add the form Title and Description. Once added, click Create Form.

Creating a new Gravity form for Divi

This will load the form builder, where add fields by dragging and dropping them from the Add Fields panel. Then, configure fields per requirement.

After configuring the fields, you can click the Save Form button to make changes. You’ve created the form, so you can close the builder and move to the next step.

Add a Gravity Form to Divi Page (Without Shortcode)

To add and style Gravity Forms in Divi using the Gravity Forms Styler for Divi, you need to create a new page or edit an existing one. Ensure you do that using the Divi Builder. Then load the visual builder by clicking the Build On The Front End.

Build on the front end option for Divi Gravity forms

Once the visual builder has loaded, go to the section where you want to insert Gravity Forms, and search for Gravity Forms Styler. Then, insert the following module.

Divi Gravity forms styler module

As you’ll insert the module, you get the option to insert your Gravity Forms. Simply select the one you want to display, and it will appear on the page.

Inserting Gravity form in Divi

As you can see, there was no need to use a shortcode to insert Gravity Forms to the Divi page. All you have to do is, insert the module and select the form you want to display.

Once your form is on the page, follow our step-by-step tutorial on how to style Gravity Forms in Divi to match it to your design.

Use Divi Gravity Forms Ajax With Title and Description

After adding the form, you get the option to display the form title and description. If you need to display them, turn both Show Title and Show Description toggle to YES.

Enabling Gravity forms title and description

Once you do that, your form will display the Title and Description. In addition, you can apply Ajax to the form to make it work faster and better by checking Enable Ajax toggle to YES.

Enable ajax

This will enable Ajax, and you’ll present a smooth Gravity Form for your website visitors.

Next Step: Style Your Form

To style your Divi Gravity Forms, you need to open the Design tab of the module. You get the following settings to enhance your Gravity Forms look in Divi.

Design options of the Gravity forms styler plugin for Divi

Each setting of Gravity Form Styler includes several options. Thus allowing you to make the most out of your Gravity Forms when it comes to styling them.

Add Background

After Form settings in the Content tab of the module, you get the Background settings that allow you to customize the background of the form.

Background customization options for Divi Gravity forms styler

To change the form’s background, you can use Color, Gradient, Image, Video, Pattern, and Mask. According to your requirements, apply background changes, and move to the next step once made.

Change Text Alignment

The first setting available in the Design tab, Alignment, enables users to change Text alignment. Whether form Title, Description, Labels, Placeholders, or any other text, you can align them at a different location.

The alignment options are Left, Right, Center, and Justified. Furthermore, you can apply Text Shadow as well if needed. Using this option, you’ll apply shadow to all text. However, you can utilize the individual settings if you need to apply that to a specific text.

Text Customizations: Title, Description, and Labels

After Alignment, you get settings to apply text customizations to the Form’s Title and Description as well as fields label.

Form title, description and labels settings for Divi Gravity forms

You can perform Font tweaks such as Font Family, Weight, and Style.

Text customizations on form title

Then, you have the control to change the text’s size, color, letter spacing, line height, and shadow. Plus, add custom padding for the form’s description.

Form description customizations

Once you apply those changes in this Gravity Forms Styler module, you can have your form’s title like the above screenshot.

Styling for Input Fields

The next setting available in the Design tab to style Gravity Forms is Input Fields.

Input fields customization options

Using this, you can apply Color and Text customizations to the Input field’s Text, Placeholder, and Description. For input fields, you can also apply Padding; thus, giving you the control to make your form spacious.

Form with customized input fields

After applying these customizations, the text in the input field, placeholder, and fields description would look like the above per your tweaks.

Text Customizations: Required Text and Field Instructions Text

In addition to the Form Title, Description, and Labels, you can apply text customizations to the Required and Field Instructions Text as well. The settings Required Text and Field Instructions Text provides you with the essential options to make them look good.

Required field instructions to style Gravity forms in Divi

By default, the Required Text has theme styling such as Red text color. The options available in the setting let you change font family, size, color, styling, and more just as you can do with other elements.

Required text customizations for Divi Gravity forms styler

Likewise, you can apply text customizations to the Field Instructions Text.

Custom Styling for Radio and Checkbox Fields

Radio Buttons and Checkboxes allow web owners to quickly obtain users’ information. Therefore, they need to be highly visible as well as user-friendly. Using the setting, Radio Fields, and Checkbox Fields settings, you can easily achieve that.

To access the controls, first, you need to check the Use Custom Styling as YES for both settings.

Custom styling for radio field and checkbox field

Using the Radio Fields settings, you can change Radio buttons size, the color of checked or unchecked buttons; apply text customizations, border radius, and more.

Customized radio buttons in Gravity forms for Divi

Similarly, the Checkbox Fields setting lets you customize the checkbox’s size, color for checked and unchecked boxes, and check mark. You can also apply text customizations to the options with text shadow, and border radius styling for the checkboxes.

Customized checkbox field

Style Dropdown Menu

Just like Radio Buttons and Checkboxes, the Dropdown menu provides users with multiple choices to quickly submit their information. Using the Dropdown Fields settings, you can style your Divi Gravity Forms dropdown menus immensely.

Dropdown menu options in the Gravity forms styler plugin for Divi

It provides you with separate customization options to enhance the dropdown menu’s Selected and Non-selected choices. To access the options, all you have to do is switch between the Selected and Options tabs. By utilizing the options, you can change dropdown menu options’ font family, size, color, and more.

Customized dropdown menu options

Once you’re done with the customization, you can have your dropdown menu like the above.

Change Textarea Height

If you’re using Textarea/Paragraph Text in your form, which is often the case, you can increase or decrease its height using the Textarea Fields setting.

And to achieve that, all you have to do is move the Textarea Fields Height slider from left to right. You can also directly define the value in the setting’s input field.

Style Upload Fields

Other than Radio Buttons, Checkboxes, and Dropdown Menus, what’s even faster to obtain user information are Upload Fields. Whether a job application or support form, you can ask users to upload Resume PDFs, Support Images, Receipts, and more to look into user issues easily. If you’re using the File Upload field in your Divi Gravity form, you can utilize the Upload Fields settings.

Customized upload fields in Divi Gravity forms

Using the options available in the settings, you can change fields’ background color and padding as well as apply text customizations.

Improve Form Buttons: Submit, Next/Previous, Save and Continue

After Upload Fields, the next settings available in the Design tab are to enhance the look of your form’s different buttons. Whether Submit, Previous/Next, or Save and Continue button, you can style each button of the Gravity Forms in Divi.

Form buttons style options

The settings are Next/Previous Buttons, Submit Button, and Save and Continue Button. Using these, you can customize form buttons’ Margin, Padding, Background, Text, Border Radius, and more.

Gravity form styler padding and margin options

The options are easy to use; all you have to do is just define values for the Padding and Margin; choose color, image, or video for the Background. Try different text font families, style, color, size, etc. Once you’ve utilized all the options to style Gravity Forms buttons in Divi, you can have them like the following.

Divi Gravity forms with styled buttons

Beautify Message: Success and Error

Apart from filling out the form, what’s essential for the user is to know the status of their submission. What they submitted was either successful or not. If you’ve styled every element of the Gravity Forms in Divi and didn’t touch the message, you’re going to put a wrong impression. With a dull and non-styled message, you’d sadden the user’s mood instead of cheering up.

Styling options for success and error message of Divi Gravity options

Therefore, to help you with this part of styling Gravity Forms in Divi, the styler plugin offers the Success/Error Message settings. Using the available options in the settings of the Gravity Forms Styler module, you can optimize the message’s text immensely.

For example, try a different font family, color, shadow, and more. Plus, you can change the alignment to Left, Right, Center, and Justified.

Customized form messages

Once you’ve utilized all the options; you can have your Success or Error messages like the above to match your website’s design scheme.

That’s it; we’ve explored all the styling options in the Design tab. Nonetheless, there’s one more additional styling option available in the Spacing settings, which is Fieldset Padding.

Fieldset padding

It allows you to add padding space between Label and Field. If you want to make your form spacious, where fields and labels aren’t closely attached, you can utilize this option. Moreover, you can leverage Divi Builder’s default options to make the form more stylish and engaging like the following.

Styled Gravity forms in Divi

Where to Get Gravity Forms Styler for Divi?


To help our customers make the most of the plugin at their convenience, we have launched Gravity Styler for Divi on both Divi Extended and Elegant Themes Marketplace.

Gravity forms styler plugin for Divi at Divi Extended

You’ll get the same plugin with all its features on both platforms. Plus, additional benefits such as,

  • Frequent Updates: To improve the plugin’s existing features, add new options, and fix bugs and errors, if any.
  • Dedicated Support: You can reach out to us 24×7 no matter what issue you’re facing. Our support team will be more than happy to assist you.
  • Free Layouts: To help you get started quickly on styling Gravity Forms in Divi, we’ve built styled Divi Gravity Forms layouts.

Which Method Should You Use?

Each method has its own use case, so the best option depends on how you build and style your forms. If you only need to display a form, the shortcode or Gravity Forms block will do the job. If you want to customize the form’s design directly in Divi without writing CSS, the Styler plugin is the better choice.

  • Method 1: Use the shortcode to add a Gravity Form to any Divi page or module.
  • Method 2: Use the Gravity Forms block when working in the WordPress Block Editor.
  • Method 3: Use the Gravity Forms Styler plugin if you want to style your forms with Divi’s visual controls.

Wrapping Up


To style Gravity Forms in Divi, there’s no better option than Gravity Forms Styler for Divi. It’s easy to use, fast, provides loads of styling options, plus you get pre-built layouts, updates and dedicated support. Using this plugin, you’ll save time and boost your styling skills for Divi Gravity Forms. Furthermore, you can quickly add your form anywhere on the page without using Shortcodes.

It’s an amazing and liberating solution you shouldn’t miss. Get it today, and let’s how was your experience using it.

For ideas that work on any WordPress setup, not just Divi, see these 11 ways to improve Gravity Forms design.

Subscribe and Never Miss Out!

Posted By:
Arif
Dreamer, Schemer, Music & Technology enthusiast. He enjoys building things that speak HTTP. Arif is Development Head at Elicus and has over 13 years experience in the WordPress development industry.

0 Comments

Submit a Comment

Your email address will not be published. Required fields are marked *

0 Comments

Submit a Comment

Your email address will not be published. Required fields are marked *

Three Gallery Modules for Building Image Galleries in Divi

Three Gallery Modules for Building Image Galleries in Divi

If you build with Divi, image galleries come up on almost every project: a portfolio, a product showcase, an Instagram feed on the homepage. Divi Gallery Extended gives you a set of gallery modules for exactly this, and this post walks through three of them: the...

Divi WooCommerce Extended

Subscribe and Never Miss Out!