Buttons Documentation

Everything DP Buttons can do, setting by setting.

How to add the module, what each style does, and a full reference of every setting in the Content and Design tabs, plus the settings of each Button item.

Overview

Add a row or stack of buttons, each with its own animated style: tiles that flip, glowing comets, magnetic pull, wave fills, neo press and liquid glass. Or style every button on your site in one go.

DP Buttons holds as many Button items as you like. Each button has its own style, text, icon, link, colours, corner radius and size, so one module can mix styles. Content > Layout sets the alignment (left, centre, right or stretch), side by side or stacked, the space between and a size for every button, per screen size.

Buttons without a link are plain buttons, for use with Divi Interactions. Empty colour settings use the style's own colours.

In the builder

Search for DP and choose DP Buttons. It works the same in Divi 5 and Divi 4.

10 styles

Each Button picks its own Button Style.

Button items

The content lives in Button items inside the module. Add, reorder and duplicate them like any Divi child module.

Adding it to a page

DP Buttons is part of DiviPerfect Modules. Once the plugin is active, the module is in the builder's module list.

Add the module

In the Divi builder, click the + button to add a module, search for DP and choose DP Buttons.

Add your buttons

New modules start with sample buttons so you can see the style straight away. Open each Button to set its content, or add more with the + button inside the module. On Divi 4, new parent modules start empty: add the items with the + button.

Pick a style

Open a Button and choose its Button Style. Each item can use a different style.

Fine-tune the design

Use the Design tab for sizes, colours and fonts, and Advanced for CSS classes, custom CSS and visibility, like any Divi module. Empty colour settings use the style's own colours.

Styles

Each style below is available in the module. See every style running live.

Flip Tile

A text pill and a square icon tile that each roll over to the accent colour.

Flip Pill

One pill that rolls over; with an icon, the two halves roll one after the other.

Flip Link

A text link with the icon in front; rolls over and draws an underline.

Arrow Fill

An outline button whose icon circle grows to fill it.

Comet Glow

A dark pill with a light running round its edge; glows on hover.

Magnetic

Leans toward the pointer, and the accent floods in from where the pointer entered.

Wave Fill

An outline button that fills with a turning wave.

Icon Slide

The icon's circle slides across to the other end.

Neo Press

A thick outline and a hard shadow that presses flat when clicked.

Liquid Glass

A frosted pill with a light sweep; reads on light, dark and photo backgrounds.

Features

DP Buttons is a row of animated buttons. You add as many Button items as you need, and each one has its own style, icon, link and colours. Use it for calls to action, hero buttons or a pair of main and secondary links.

Eleven button styles

Flip Tile, Flip Pill, Flip Link, Arrow Fill, Comet Glow, Magnetic, Wave Fill, Icon Slide, Text Roll, Neo Press and Liquid Glass. Each button in the row can use a different style.

Built-in icons

Pick an icon for each button: Arrow, Arrow up-right, Chevron, Plus, Download, Play, Mail or Sparkle, or None.

Shared layout

The parent module sets the alignment, the direction, the space between buttons and one size for every button.

One size control

Button Size scales the text, padding and icon together. A button's own Size overrides it.

Per-button colours

Each button has its own Button Background, Text Color, Accent Color, Accent Text Color and Corner Radius.

Style All Site Buttons

One button can give every Divi button on the site its style, icon, colours, corner radius and size, including the Contact Form's Submit button.

Plain buttons for Interactions

Leave the Link URL empty for a plain button, for example to trigger Divi Interactions.

How to use it

Step-by-step guides for the things people most often want to do with DP Buttons.

How to add and edit buttons

  1. Add the DP Buttons module, then click the plus icon inside it to add a Button.
  2. Open a Button > Content > Button > Text and type the button text.
  3. Open a Button > Content > Link > Link URL and paste the link.
  4. Turn Open In New Tab on if the link should open in a new tab.
  5. Duplicate a Button to make another one with the same settings, then change its text and style.

How to pick a button style

  1. Open a Button > Content > Button > Button Style.
  2. Pick a style. Flip Tile, Flip Pill and Flip Link roll over to the accent colour; Arrow Fill and Wave Fill fill with it.
  3. Comet Glow runs a light round the edge, Magnetic leans toward the pointer and Icon Slide moves the icon across.
  4. Text Roll rolls the text up and slides the icon through. It keeps its colours on hover unless you set the Accent colours.
  5. Neo Press presses its shadow flat. Liquid Glass is frosted and looks best over an image or colour.

How to choose an icon

  1. Open a Button > Content > Button > Icon.
  2. Pick Arrow, Arrow up-right, Chevron, Plus, Download, Play, Mail or Sparkle.
  3. Pick None for a text-only button. Arrow Fill and Icon Slide always show their icon circle.

How to line up the buttons

  1. Select the parent DP Buttons module and go to Content > Layout.
  2. Set Alignment to Left, Centre, Right or Stretch (full width). Stretch makes the buttons share the full width.
  3. Set Direction to Side by side or Stacked.
  4. Set Space Between for the gap between buttons.
  5. Use the tablet and phone icons on these settings to stack or centre the buttons on smaller screens.

How to change the button size

  1. Select the DP Buttons module and go to Content > Layout > Button Size. This scales every button.
  2. To make one button bigger or smaller, open that Button > Design > Button Colors & Size > Size.
  3. Use the tablet and phone icons to set a different size per device.

How to change the button colours

  1. Open a Button > Design > Button Colors & Size.
  2. Set Button Background and Text Color. Empty uses the style's own colour.
  3. Set Accent Color for the hover side, fill, icon circle, glow, underline or shadow, depending on the style.
  4. Set Accent Text Color for the text and icon on the accent. In Comet Glow it is the second glow colour.
  5. Set Corner Radius. Empty uses the style's own shape; most styles are pills.

How to change the button font

  1. To style every button at once, select DP Buttons and open Design > Buttons Text.
  2. To style one button, open that Button > Design > Button Text.
  3. Set the font, weight, colour, letter spacing and other text options there.

How to style every Divi button on the site

  1. Open the Button whose look you want to copy and go to Content > Button > Style All Site Buttons.
  2. Turn it on and publish the page (or Theme Builder layout) that holds this button.
  3. Divi's Button module, the Contact Form's Submit button, Email Optin, Call To Action and the other Divi module buttons now use this look.
  4. Turn it off, or unpublish that page, to go back to Divi's own buttons.
  5. Turn it on for one button only. If several have it on, the one saved last is used.

Tips

  • An empty colour uses the style's own built-in colour. Accent colours otherwise follow the site's Divi Primary colour, and text follows the Heading text colour, so changing those Divi colours restyles every button. Set a colour on the Button to change one button only.
  • Styles with no fill of their own switch to light default colours on a dark background, so they stay readable.
  • Style All Site Buttons only takes effect on the live site. The builders keep showing Divi's own buttons.
  • Leave the Link URL empty to use a button with Divi Interactions.
  • In Divi 4 the same settings are in the same places, with the Button items added inside the module.

Design Elements

The parts of DP Buttons you can style in the Design tab, and the options each part has. In Divi 4 the same groups have Background Color, Margin, Padding, Width, Max Width, Min Height, Height, Border and Box Shadow in the same toggle. Empty colour settings use the style's own colours, and text and accent colours follow your Divi theme colours.

Buttons Text

Design tab

The text of every button in the module (on the parent DP Buttons module).

  • Buttons: Font (family, weight, style, size, colour, line height, letter spacing, alignment, text shadow).

Tip: Set the font here once, and use a Button's own Button Text group only for the odd one out.

Button Text

Design tab of each Button

The text of one button (open a Button > Design).

  • Button: Font (family, weight, style, size, colour, line height, letter spacing, alignment, text shadow).

Tip: Changes here override the parent's Buttons Text for that button only.

Button Colors & Size

Design tab

One button (open a Button > Design).

Options: Button Background, Text Color, Accent Color, Accent Text Color, Corner Radius, Size

Tip: Leave the colours empty to keep the style's own colours, which follow the site's Divi theme colours.

Shadows

Design tab

The drop shadows the button style draws (open a Button > Design).

Options: Built-In Shadows

Tip: Turn Built-In Shadows off for a flat look. Divi's own Box Shadow settings still work.

Spacing

Design tab

The margin and padding of one button (open a Button > Design).

Options: Spacing

Tip: Use the parent's Space Between for even gaps, and this only to nudge a single button.

Settings Reference

Every setting DP Buttons adds, in the order you find it in the builder. Divi's standard Design options (fonts, spacing, borders, box shadow, filters, transforms, animation) and the Advanced tab work as they do on any Divi module.

Layout

Content tab

  • Alignment: Stretch makes the buttons share the full width. Options: Left, Centre, Right, Stretch (full width). Default: Left.
  • Direction: Side by side, or one under another. Options: Side by side, Stacked. Default: Side by side.
  • Space Between: Range: 0 to 80 px. Default: 12px.
  • Button Size: Scales every button (text, padding and icon). A button's own Size overrides it. Range: 10 to 40 px. Default: 17px.

Button Settings

Each Button inside DP Buttons has its own settings. Open an item in the builder to change them.

Button

Content tab of each Button

  • Text: Text.
  • Button Style: Flip Tile, Flip Pill and Flip Link roll over to the accent color; Arrow Fill and Wave Fill fill with it; Comet Glow runs a light round the edge; Magnetic leans toward the pointer; Icon Slide moves the icon across; Text Roll rolls the text up and slides the icon through; Neo Press presses its shadow flat; Liquid Glass is frosted (best over an image or color). Options: Flip Tile, Flip Pill, Flip Link, Arrow Fill, Comet Glow, Magnetic, Wave Fill, Icon Slide, Text Roll, Neo Press, Liquid Glass. Default: Flip Tile.
  • Icon: Arrow Fill and Icon Slide always show their circle. Options: None, Arrow, Arrow up-right, Chevron, Plus, Download, Play, Mail, Sparkle. Default: Arrow.
  • Style All Site Buttons: Gives every Divi button on the site this button's style, icon, colors, corner radius and size: the Button module, the Contact Form's Submit button, Email Optin, Call To Action and the other Divi modules' buttons. It takes effect once the page (or Theme Builder layout) with this button is published, and stops when you switch it off or unpublish that page. If several buttons have it on, the one saved last is used. The builders keep showing Divi's own buttons. On or off. Default: off.

Link

Content tab of each Button

  • Link URL: Leave empty for a plain button (for example to use with Interactions). Text.
  • Open In New Tab: On or off. Default: off.

Button Colors & Size

Design tab of each Button

  • Button Background: Empty uses the style's own color. Color.
  • Text Color: Also the outline color of Arrow Fill and Wave Fill. Color.
  • Accent Color: The hover side, fill, icon circle, glow, underline or shadow, depending on the style. Color.
  • Accent Text Color: Text and icon color on the accent. In Comet Glow, the second glow color. Color.
  • Corner Radius: Empty uses the style's shape (most are pills). Range: 0 to 60 px.
  • Size: Scales this button (text, padding and icon). Empty uses the DP Buttons size. Range: 10 to 40 px.

Shadows

Design tab of each Button

  • Built-In Shadows: The drop shadows this module draws under its images, cards and panels. Off removes them; Divi's own Box Shadow settings still work. On or off. Default: on.

Support

Something not working as expected, or a question this page does not answer? Get in touch and we will help you get Buttons working on your site.

Frequently Asked Questions

Common questions about DP Buttons.

Can I use different styles in one row?

Yes. Each Button picks its own style.

Can I style all the buttons on my site?

Yes. Turn on Style All Site Buttons on a Button to apply its style to the Divi buttons across your site.

Can a button trigger a Divi Interaction?

Yes. Leave the Link URL empty to make a plain button for use with Interactions.

Does it work with Divi 5 and Divi 4?

Yes. The module has the same settings and styles in both builders.

Can I use it more than once on a page?

Yes. Each copy of the module has its own settings.