Skip to main content

Understanding the Fields Option Group in Divi 5

Learn how to use the Fields options to control the appearance of your form fields, creating an engaging and functional user experience.

The Fields design options control how form fields look inside Divi 5 modules that include user inputs. These settings cover typography for input, label, and placeholder text, plus spacing, background, border, and box shadow controls for the field container.

Divi 5 - Understanding the Fields option group

Where to Find the Fields Options

  1. Open the Comments Module Settings: Click the gear icon or the module itself to access the settings.

  2. Navigate to the Design Tab: Locate the Fields option group.

Fields Customization Settings

Input Text

Controls the typography of the text users type into form fields.

  • Fields Font: Choose a font from the Google Fonts library or upload a custom font.

  • Fields Font Weight: Set the weight. Options include thin, light, regular, bold, and every weight in between.

  • Fields Font Style: Apply italic, uppercase, capitalize, underline, or strikethrough.

  • Fields Text Alignment: Align text left, center, right, or justify.

  • Fields Text Color: Pick a static color or assign a global color variable for sitewide consistency.

  • Fields Text Size: Set the font size using any supported unit (px, em, rem, %, vw, vh, and more).

  • Fields Letter Spacing: Increase or decrease the space between characters.

  • Fields Line Height: Adjust vertical spacing between lines of text.

  • Fields Text Shadow: Add a shadow behind input text. Customize horizontal position, vertical position, blur strength, and color.

Label Text

Controls the typography of field labels (the descriptive words that identify each field, like "Name" or "Email").

  • Label Font: Choose a font from Google Fonts or upload a custom font.

  • Label Font Weight: Set the weight from thin to bold.

  • Label Font Style: Apply italic, uppercase, capitalize, underline, or strikethrough.

  • Label Text Alignment: Align text left, center, right, or justify.

  • Label Text Color: Pick a static color or assign a global color variable.

  • Label Text Size: Set the font size using any supported unit.

  • Label Letter Spacing: Adjust the space between characters.

  • Label Line Height: Adjust vertical spacing between lines.

  • Label Text Shadow: Add a shadow behind label text with control over position, blur, and color.

Placeholder Text

Controls the typography of placeholder text (the faded hint text that appears inside an empty field, like "Enter your email address").

  • Placeholder Font: Choose a font from Google Fonts or upload a custom font.

  • Placeholder Font Weight: Set the weight from thin to bold.

  • Placeholder Font Style: Apply italic, uppercase, capitalize, underline, or strikethrough.

  • Placeholder Text Alignment: Align text left, center, right, or justify.

  • Placeholder Text Color: Pick a static color or assign a global color variable.

  • Placeholder Text Size: Set the font size using any supported unit.

  • Placeholder Letter Spacing: Adjust the space between characters.

  • Placeholder Line Height: Adjust vertical spacing between lines.

  • Placeholder Text Shadow: Add a shadow behind placeholder text with control over position, blur, and color.

Spacing

Controls the space around and inside field containers.

  • Fields Margin: Add space outside the field on the top, right, bottom, and left.

  • Fields Padding: Add space inside the field (between the text and the field edges) on the top, right, bottom, and left.

Click the chainlink icon to lock opposing sides together for uniform spacing.

Background

Controls the appearance of the field background. Divi 5 offers six background types, each available as its own tab. You can combine them (for example, a color base with an image overlay and a pattern on top).

  • Background Color: Apply a solid color fill.

  • Background Gradient: Apply a multi-stop gradient with control over direction, type (linear or radial), and color stops.

  • Background Image: Upload or link an image and adjust size, position, repeat, and blend mode.

  • Background Video: Embed an MP4 or WebM video as a looping background.

  • Background Mask: Apply a pre-built mask shape over the background for layered visual effects.

  • Background Pattern: Overlay a repeating pattern on top of the background.

Border

Controls the shape and edge of the field container.

  • Fields Rounded Corners: Set the corner radius. Keep the chainlink icon locked for uniform corners or unlink it to round each corner independently.

  • Fields Border Styles: Configure the border appearance:

    • Border Width: Define the border thickness (minimum 1px).

    • Border Color: Pick a static color or assign a global color variable.

    • Border Style: Choose solid, dashed, dotted, double, groove, ridge, inset, outset, or none.

Box Shadow

Adds a drop shadow around the field container to create depth. Pick from a library of preset shadow styles, or customize each property manually.

  • Horizontal Position: Move the shadow left or right of the field.

  • Vertical Position: Move the shadow up or down from the field.

  • Blur Strength: Soften or sharpen the shadow edges.

  • Spread Strength: Expand or contract the shadow's reach.

  • Shadow Color: Pick a static color or assign a global color variable.

Tips for Using Fields Options

  • Match Site Typography: Keep Input Text, Label Text, and Placeholder Text fonts consistent with the rest of your site for a cohesive look.

  • Use Global Colors: Assign global color variables to Text Color and Border Color so sitewide palette changes update fields automatically.

  • Keep Placeholders Subtle: Use a lighter color and reduced weight for Placeholder Text so it reads as a hint rather than entered content.

  • Ensure Contrast: Check that text, placeholder, and background colors meet accessibility contrast standards for readability.

  • Add Depth Sparingly: Use Box Shadow and Text Shadow in moderation. Subtle shadows feel polished, heavy ones feel dated.

Did this answer your question?