Tabs Documentation

Everything DP Tabs 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 Tab item.

Overview

Organise features, services or steps into tabs that look designed. Each tab can carry an image, eyebrow, title, text and two buttons, and on phones the tabs turn into an accordion.

DP Tabs shows one Tab item per tab, each with a tab label, an optional image, eyebrow, title, text and two buttons. Pick a look in Content > Tabs Style. Tabs open on click or hover, switch with a fade, slide or rise, and can autoplay. Accordion On Phones is in Content > Behavior.

In the builder

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

8 styles

Pick one in Content > Tabs Style.

Tab items

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

Adding it to a page

DP Tabs 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 Tabs.

Add your tabs

New modules start with sample tabs so you can see the style straight away. Open each Tab 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

Choose a look in Content > Tabs 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.

Sample 1

Step one

Plan the look together

We start with your goals.

Then we sketch the pages that matter most.

See our processLearn more
Sample 2

Step two

Built to be edited

Every section is made with Divi modules, so you can change the words yourself.

View examplesLearn more
Sample 3

Step three

Live on the promised day

We test on phones, tablets and desktops.

Learn more

Styles

Choose a style in Tabs Style. See every style running live.

Image Card

A large image with an overlapping card and arrows.

Sliding Pill

A pill slides behind the active tab.

Underline

A line slides under the active tab.

Vertical Rail

Tabs stacked down the side.

Expanding Panels

Panels side by side; the active one opens wide.

Tab Cards

Each tab is a card.

Progress Tabs

A bar fills under each tab while it autoplays.

Folder Tabs

Tabs shaped like folder tabs.

Features

DP Tabs puts several panels of content in one place, with a tab for each. Use it for product features, services, step-by-step guides or any content that is easier to read one part at a time. There are eight tab styles, from a large image card to sliding pills, a vertical rail and progress tabs that play on their own.

8 tab styles

Image Card, Sliding Pill, Underline, Vertical Rail, Expanding Panels, Tab Cards, Progress Tabs and Folder Tabs. Pick one in Content > Tabs > Tabs Style.

Rich panels

Each tab has a label, an eyebrow, a title, text, an image and up to two buttons. Text allows links, bold and italics.

Click or hover

Content > Tabs > Open Tabs On opens tabs on click or on hover. Touch screens always use a tap.

Switch animations

Switch Animation sets how the content changes: Fade, Slide, Rise with blur or None.

Autoplay

The tabs can open one after another. Autoplay stops when the visitor picks a tab and for visitors who ask for reduced motion. Progress Tabs shows the time as a bar.

Steady height

Panel Height set to Tallest tab keeps the module the same height whichever tab is open, so the page below does not jump.

Accordion on phones

Below 768px wide, each tab can open under its own heading instead, which is easier to use on a small screen.

Links to a tab

A link to the page ending in #tab-label opens that tab when the page loads. Otherwise First Tab Shown decides which tab is open.

Your own panel design

Content > Panel Design can use a Divi Library layout or, in Divi 5, a canvas on the page. Every tab fills that design from its own settings through Dynamic Content > DiviPerfect Entry.

How to use it

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

How to pick and switch the tabs style

  1. Open the module and go to Content > Tabs > Tabs Style.
  2. Pick a style, for example Sliding Pill or Vertical Rail.
  3. Image Card and Expanding Panels are made for images, so give each tab an image when you use them.
  4. Switch styles at any time; the tab content stays the same.

How to add and edit tabs

  1. Click the plus button in the module to add a Tab item.
  2. Open a Tab > Content > Tab and fill in Tab Label (the name on the tab), Eyebrow, Title and Text.
  3. Leave an empty line in Text to start a new paragraph.
  4. Add an image in Content > Image > Image (optional).
  5. Drag the Tab items to change their order.

How to add buttons to a tab

  1. Open a Tab > Content > Buttons.
  2. Type the Button Text and Button Link. Leave Button Text empty for no button.
  3. For a second, outlined button, fill in Second Button Text and Second Button Link.
  4. Turn on Open Links In New Tab if the links go to another site.
  5. Style the buttons in the module's Design > Panel Button.

How to choose the tab that opens first

  1. Go to Content > Tabs > First Tab Shown.
  2. Enter the number of the tab (1 is the first).
  3. To open a tab from a link, end the link with # and the tab label, for example #pricing.

How to make the tabs play on their own

  1. Go to Content > Behaviour and turn on Autoplay.
  2. Set Time Per Tab.
  3. Turn on Pause On Hover so the tabs stop while the visitor reads.
  4. For a visible timer, use the Progress Tabs style.

How to change the colours

  1. Go to Design > Tabs Colors & Layout.
  2. Set Accent Color for the highlight, active tab, progress bar and buttons, and Text On Accent for text on top of it.
  3. Set Text Color for the labels and panel text, Tab Bar Background for the bar behind the labels, and Panel Background for the content card.
  4. By default these follow your Divi theme colours (Primary for the accent, Heading Text for the text). Changing those Divi colours restyles every module; a colour set here changes only this module.

How to change fonts and sizes

  1. Go to Design > Tab Buttons for the tab labels.
  2. Use Design > Eyebrow, Panel Title and Panel Text for the panel content.
  3. Set Corner Radius, Space Between Tabs and Image Height in Design > Tabs Colors & Layout.
  4. Use Tab Alignment to put the tabs left, centre, right or stretch them full width (not used by Vertical Rail and Expanding Panels).

How to set up tabs for phones

  1. Go to Content > Behaviour > Accordion On Phones.
  2. Leave it on to show each tab under its own heading below 768px wide.
  3. Turn it off to keep the normal tabs on phones.
  4. Check the result with the phone preview in the builder.

How to use your own panel design

  1. Build one panel from Divi modules in a Divi Library layout, or (Divi 5) in a new canvas from the canvas menu at the top left of the builder.
  2. In that design, set each module's text, image or link to Dynamic Content > DiviPerfect Entry: Entry Tag (the Eyebrow), Entry Title, Entry Subtitle (the Text), Entry Image, Entry Link URL and Entry Link Text.
  3. In the Tabs module, go to Content > Panel Design > Panel Design and pick A Divi Library layout or A canvas on this page (Divi 5).
  4. Choose the design in Design Layout or Design Canvas. Every tab now uses it, filled with its own content.

Tips

  • Previous / Next Arrows are only used by the Image Card style. Time Per Tab and Pause On Hover appear once Autoplay is on.
  • Use Panel Height > Tallest tab when the tabs have very different amounts of text, so the page does not jump.
  • The Tab Label still names each tab in the tab bar when you use your own Panel Design.
  • Divi 4 has the same settings, except the canvas option in Panel Design (canvases are a Divi 5 feature). In Divi 4 the element groups keep their options in the same Design-tab toggle: background colour, margin, padding, width, max width, min height, height, border and box shadow, as each group has them.

Design Elements

The parts of DP Tabs 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.

Tab Bar

Design tab

The bar that holds the tab labels.

  • Tab Bar: Background; Margin and Padding; Border (width, style, colour, rounded corners); Box Shadow.

Tip: Add padding here to give the Sliding Pill more room around the labels.

Tab Buttons

Design tab

Each tab label button.

  • Tab Labels: Font (family, weight, style, size, colour, line height, letter spacing, alignment, text shadow).
  • Tab Buttons: Background; Margin and Padding; Border (width, style, colour, rounded corners); Box Shadow.

Tip: Leave the background empty to keep the style's own active highlight.

Panel Image

Design tab

The image in each panel.

  • Panel Image: Width, Max Width, Min Height and Height; Border (width, style, colour, rounded corners); Box Shadow.

Tip: For the image height in Image Card and Expanding Panels, use Image Height in Tabs Colors & Layout first.

Eyebrow

Design tab

The small text above the panel title.

  • Eyebrow: Font (family, weight, style, size, colour, line height, letter spacing, alignment, text shadow); Margin and Padding.

Tip: Uppercase with a little letter spacing makes the eyebrow stand out from the title.

Panel Title

Design tab

The title in each panel.

  • Panel Title: Font (family, weight, style, size, colour, line height, letter spacing, alignment, text shadow); Margin and Padding.

Tip: These settings also restyle the matching Entry text when you use your own Panel Design.

Panel Text

Design tab

The main text in each panel.

  • Panel Text: Font (family, weight, style, size, colour, line height, letter spacing, alignment, text shadow); Margin and Padding.

Tip: Keep line height around 1.6 for long text.

Panel Button

Design tab

The buttons in the panels.

  • Button: Font (family, weight, style, size, colour, line height, letter spacing, alignment, text shadow); Background; Margin and Padding; Width, Max Width, Min Height and Height; Border (width, style, colour, rounded corners); Box Shadow.

Tip: The button colour follows Accent Color unless you set a background here.

Tabs Colors & Layout

Design tab

The whole module: tab alignment, the colours, corners, gaps and image height.

Options: Tab Alignment, Accent Color, Text On Accent, Text Color, Tab Bar Background, Panel Background, Corner Radius, Space Between Tabs, Image Height.

Tip: Tabs that are not open are drawn in a faded Text Color, so pick a Text Color with good contrast.

Shadows

Design tab

The drop shadows the module draws under its images, cards and panels.

Options: Built-In Shadows toggle.

Tip: Turn it off for a flat look; Divi's own Box Shadow settings still work.

Settings Reference

Every setting DP Tabs 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.

Tabs

Content tab

  • Tabs Style: Image Card: a large image with the text on a card over it. Sliding Pill and Underline: a highlight slides to the chosen tab. Vertical Rail: tabs down the side. Expanding Panels: image panels side by side; the chosen one opens wide. Tab Cards: each tab is a card. Progress Tabs: a bar fills under each tab as they play in turn. Folder Tabs: classic tabs joined to the panel. Options: Image Card, Sliding Pill, Underline, Vertical Rail, Expanding Panels, Tab Cards, Progress Tabs, Folder Tabs. Default: Image Card.
  • First Tab Shown: The tab that is open when the page loads (1 is the first). A link to the page ending in #tab-label opens that tab instead. Range: 1 to 20. Default: 1.
  • Open Tabs On: Options: Click, Hover (click on touch screens). Default: Click.
  • Switch Animation: How the content changes when another tab opens. Options: Fade, Slide, Rise with blur, None. Default: Fade.
  • Panel Height: Tallest Tab keeps the module the same height whichever tab is open, so the page below does not jump. Options: Tallest tab, Fit the open tab. Default: Tallest tab.

Behaviour

Content tab

  • Autoplay: Opens the tabs one after another. Stops when the visitor picks a tab, and for visitors who ask for reduced motion. Progress Tabs shows the time as a bar. On or off. Default: off.
  • Time Per Tab: Range: 2 to 20 s. Default: 6s.
  • Pause On Hover: On or off. Default: on.
  • Previous / Next Arrows: On or off. Default: on.
  • Accordion On Phones: Below 768px wide, each tab opens under its own heading instead. On or off. Default: on.

Panel Design

Content tab

  • Panel Design: Built-In uses this module's own panel. Or design one panel yourself from Divi modules, in a Divi Library layout or a canvas, and every tab uses it. In that design, set a module's text, image or link to Dynamic Content > DiviPerfect Entry, and each tab fills it in from its own settings: Entry Tag (the Eyebrow), Entry Title, Entry Subtitle (the Text), Entry Image, Entry Image Alt Text, Entry Link URL and Entry Link Text (the first Button). For a heading (H2, H3...), use a Heading module, or on Divi 4 a Blurb's title. A button set to Entry Link URL is hidden on tabs without a link. The Tab Label still names each tab in the tab bar. The Eyebrow, Panel Title and Panel Text settings in the Design tab also restyle the matching parts of the design, and a background set in a tab's own Background replaces the design's section and row backgrounds. All eight styles switch the panels as before. Options: Built-In Panel, A Divi Library layout, A canvas on this page (Divi 5). Default: Built-In Panel.
  • Design Layout: Layouts saved in Divi > Divi Library. Pick one from the list.
  • Design Canvas: Add one from the canvas menu at the top left of the builder (Add Canvas), build one card there, then pick it here. Do not append it to the main canvas. Pick one from the list.

Tabs Colors & Layout

Design tab

  • Tab Alignment: Options: Left, Centre, Right, Stretch (full width). Default: Left.
  • Accent Color: The highlight, active tab, progress bar and buttons. Color. Default: #2c59fa.
  • Text On Accent: Text on the accent color (the open tab in Sliding Pill, buttons). Color. Default: #ffffff.
  • Text Color: Tab labels and panel text. Tabs that are not open are shown faded. Color. Default: #060606.
  • Tab Bar Background: Behind the tab labels (and the closed panels in Expanding Panels). Color. Default: #f1f1f0.
  • Panel Background: The content card or panel. Color. Default: #ffffff.
  • Corner Radius: Range: 0 to 48 px. Default: 16px.
  • Space Between Tabs: Range: 0 to 40 px. Default: 6px.
  • Image Height: Image Card, Expanding Panels and images in the other styles. Range: 160 to 900 px. Default: 440px.

Shadows

Design tab

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

Tab Settings

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

Tab

Content tab of each Tab

  • Tab Label: The name on the tab. Text.
  • Eyebrow: Small text above the title. Text.
  • Title: Text.
  • Text: Leave an empty line between paragraphs. Links, bold and italics are allowed. Text.

Image

Content tab of each Tab

  • Image: Optional. Image Card and Expanding Panels are made for images; the other styles show it beside the text. Image.

Buttons

Content tab of each Tab

  • Button Text: Leave empty for no button. Text.
  • Button Link: Text.
  • Second Button Text: An outlined button next to the first. Text.
  • Second Button Link: Text.
  • Open Links In New Tab: On or off. Default: off.

Support

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

Frequently Asked Questions

Common questions about DP Tabs.

Can I link straight to a tab?

Yes. A link ending in #tab-name opens that tab.

Can tabs open on hover?

Yes. Set Open Tabs On to hover.

Can I design my own panel?

Yes. Panel Design lets you build the panel with Divi modules and use it for every tab.

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.