Skip to main content

Understanding the Radio Option Group in Divi 5

Learn how to use the Radio option group to customize radio button typography, spacing, icon, background, border, and box shadow in Divi 5.

Updated today

The Radio design options control how radio button inputs look inside Divi 5 modules that include them. These settings cover the typography of the radio option text, the selection icon, spacing, background, border, and box shadow for the radio button container.

Divi 5 - Understanding the Radio Option Group

Where to Find the Radio Options

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

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

Radio Customization Settings

Input Text

Controls the typography of the text that appears next to each radio button option.

  • 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 the option text. Customize horizontal position, vertical position, blur strength, and color.

Spacing

Controls the space around and inside each radio button.

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

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

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

Icon

Controls the indicator that appears inside a selected radio button.

  • Fields Icon Color: Set the color of the selection icon. Pick a static color or assign a global color variable.

  • Field Icon: Choose the icon shown when a radio button is selected. Select from the ET icon library or the Font Awesome library.

  • Use Custom Field Icon Size: Toggle on to override the default icon size. When enabled, a size slider appears so you can set a custom value using any supported unit.

Background

Controls the appearance of the radio button background. Divi 5 offers six background types, each available as its own tab. You can combine them (for example, a color base with 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 radio button container.

  • Fields Rounded Corners: Set the corner radius. Keep the chainlink icon locked for uniform corners or unlink it to round each corner independently. Radio buttons are traditionally circular, so keeping a high corner radius across all four corners preserves the expected shape.

  • 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 radio button 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 radio button.

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

  • 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 Radio Options

  • Match Form Typography: Keep Input Text font, weight, and size consistent with the rest of your form fields so radio buttons read as part of the same group.

  • Use Global Colors: Assign global color variables to Fields Icon Color and Border Color so sitewide palette changes update radio buttons automatically.

  • Preserve the Circle: Users recognize radio buttons as round. Keep Fields Rounded Corners high on all sides unless you're intentionally styling against convention.

  • Pick a Recognizable Selection Icon: A filled dot or solid circle from the ET or Font Awesome libraries reads most clearly as "selected" at small sizes.

  • Size Icons Proportionally: When enabling Use Custom Field Icon Size, keep the icon smaller than the radio button container so it sits cleanly inside.

  • Keep Tap Targets Generous: Use Fields Padding and Fields Margin to give radio buttons enough space for easy tapping on mobile devices.

  • Ensure Contrast: Check that the icon color contrasts clearly with the radio button background so the selected state is obvious at a glance.

Did this answer your question?