The fastest way to get a pricing table in Divi is the built-in Pricing Tables module. Add it to a row, fill in one table per plan, mark your best plan as featured, and style it in the Design tab. For a monthly/yearly switch, build two sets of tables and swap between them with a few lines of CSS. If you would rather skip the build, import a ready-made pricing layout and replace the text.
The built-in module does one job well: it shows plans side by side. It has no native billing toggle, the default look is plain, and the columns can feel cramped on a phone. Search for a fix and you land on plugins, add-on modules and layout packs, each promising a quick win. Pick the wrong route and you rebuild the table later.
This guide walks you through the whole process in four steps. You will choose a method, build and fill the table, style it, add a monthly/yearly toggle, and learn when a ready-made layout is the smarter move. It works in Divi 5 and Divi 4. We have built Divi sites for more than 15 years at Divi Hat, so the steps and code below come from real client work.
Pick your method and check the basics
You can build a Divi pricing table with the built-in module, a third-party plugin, or an imported layout. For most sites the built-in module plus a little CSS is enough, and a layout saves the most time. Choose before you build so you do not redo the work.
Module, plugin or layout
Each route trades control against speed. The table below compares them on what matters when you are about to build.
| Method | Best for | Monthly/yearly toggle | Main drawback |
|---|---|---|---|
| Built-in Pricing Tables module | Full control, no extra cost | Not built in, add it with CSS or interactions | Plain default styling |
| Third-party pricing plugin | Extra features like tooltips or ready toggles | Often included | Another dependency to update and trust |
| Free or premium layout | Launching fast | Depends on the layout | You must edit text, colors and links |
The built-in module is the safest base because it ships with Divi and updates with it. A plugin makes sense when you need features the module lacks and you accept one more thing to maintain. A layout makes sense when design time is the bottleneck, and step 4 covers how to use one well.
Start with the built-in module, then add a plugin or layout only for a gap you can name.
What you need before you start
Gather your content first, because a pricing table is mostly decisions. Have these ready:
- Plan names, monthly prices and a yearly price for each plan.
- Four to six feature lines per plan, with the same features listed in the same order across plans.
- One button label and link per plan, such as "Start free trial" or "Buy now".
- Your brand colors and fonts, plus the plan you want to feature.
- Divi 5 or Divi 4 installed. Divi 5 is the focus here, and the Divi 4 differences are noted where they matter.
Decide on the toggle now. If you want monthly/yearly pricing, you will build each set of tables twice, so write both sets of prices before you open the builder. The examples below use three plans: Starter at $12 a month, Pro at $29 and Agency at $59.
Step 1. Add the module and fill in each plan
Open the Visual Builder, add a row, and insert the Pricing Tables module. Then create one table per plan inside it and fill in the title, price, features and button. The whole step takes about ten minutes for three plans.
Insert the Pricing Tables module
In Divi 5, follow these steps:
- Open the page in the Visual Builder. Divi adds a section automatically.
- Click the green plus icon to insert a row.
- Click the gray plus icon inside the row to open the module list.
- Search for Pricing Tables and click it.
Divi 4 works differently. There, each plan is its own Pricing Table module, so you use a three-column row, add one module, then duplicate it into the other columns. Divi 5 keeps all plans inside a single module, which makes the plans easier to keep consistent.
Fill in each plan
Open the module settings and use the Content tab to manage the tables. Each table has its own fields for title, subtitle, price, currency symbol, billing frequency, feature list and button text and link. Write the price as a plain number and put "/mo" in the frequency field, so you can restyle the number and the suffix separately later.
For the feature list, put one feature per line. Start a line with a plus sign to mark it as included. Start it with a minus sign to mark it as excluded, which Divi displays in its own style. This lets you show gaps between plans honestly, such as "- Priority support" on the Starter plan.
Keep every plan’s feature list in the same order so readers can compare the rows by eye.
Add, duplicate and remove plans
Use these controls inside the module:
- Edit a plan: click the pencil icon next to it.
- Add a plan: click Add New Pricing Table in the Content tab.
- Copy a plan: click the duplicate icon, then change the text.
- Delete a plan: click the trash icon.
Duplicating is the fastest way to build the yearly set later. Mark the plan you want to push as featured in its own settings, because the next step styles it differently.
Step 2. Style the tables and the featured plan
Style the table from the Design tab: set the layout, the featured plan, the price and button styles, and then check tablet and phone. Aim for one clear focal point, which is the featured plan’s price and button.
Set the layout and the featured plan
In the Design tab, the Layout option sets how the tables sit. Flex is the default and places them side by side. Block stacks them, and Grid gives you column control. Stay on Flex for three plans and try Grid if you want four or more in tidy rows.

The same group lets you choose a background color and a drop shadow for tables marked as Featured. Pick a color that clearly separates it from the others without clashing with your button color. Bullet color and Excluded Item Text have their own groups, so set excluded lines to a muted gray.
Style price, text and buttons
Work down the Design tab in this order:
- Price Text: make it the largest element in each table.
- Currency & Frequency Text: shrink it so "$29" dominates and "/mo" stays quiet.
- Title Text and Body Text: keep the contrast high and the line height generous.
- Button: give regular plans a secondary style and the featured plan a bold fill.
- Spacing, Border and Box Shadow: add padding inside each table and a soft shadow.
Save your styles as presets in Divi 5 if you will build more than one table, so every table on the site matches. That matters most for sites with many pricing tables, where small inconsistencies stand out.
Add a "Most popular" badge with CSS
Divi has no badge field, but a small snippet adds one. Give the featured plan a CSS class, for example pt-featured, in its Advanced tab under Attributes (Divi 4: CSS ID & Classes). Then add this to your custom CSS:
.pt-featured {
position: relative;
padding-top: 40px;
}
.pt-featured::before {
content: "Most popular";
position: absolute;
top: 10px;
left: 50%;
transform: translateX(-50%);
background: #2563eb;
color: #fff;
font-size: 13px;
font-weight: 600;
padding: 4px 14px;
border-radius: 999px;
}
Change the color to match your brand. Adding padding at the top keeps the badge from overlapping the title.
Check tablet and phone
Use the responsive icons beside a setting to switch between desktop, tablet and phone, and override only what breaks. Stack the plans vertically on phones and increase padding so the text does not touch the edges. Put the featured plan first on small screens if it is not already first, because phone users rarely scroll sideways. Then open the published page on a real phone and look for wrapped prices or overlapping text.
A pricing table that fails on a phone loses most of its readers, so test mobile before you polish desktop.
Step 3. Add a monthly/yearly toggle
The Pricing Tables module has no billing switch, so you build two sets of tables, one monthly and one yearly, and show only one at a time. A small CSS switch does it without a plugin. You can also use a plugin or layout that includes a toggle, or Divi 5 Interactions.
Choose how to switch
You have three ways to get a toggle:
- CSS switch: free, lightweight and copy-paste ready, shown below.
- Divi 5 Interactions: the Advanced tab can show or hide elements on a click, so a pair of buttons can swap the rows.
- Plugin or layout: the quickest if you accept the extra dependency or edit a prebuilt design.
The CSS switch works the same in Divi 5 and Divi 4, and it needs no extra add-ons, which is why the steps below use it.
Build the monthly and yearly sets
Build the monthly row first, then duplicate the whole row and edit the prices in the copy. Offering two months free on a yearly plan is common, so the yearly price is 10 times the monthly one. That is about a 17% discount. Here is the worked example:
| Plan | Monthly | Yearly (10 months) | You save |
|---|---|---|---|
| Starter | $12 | $120 | $24 |
| Pro | $29 | $290 | $58 |
| Agency | $59 | $590 | $118 |
Change the frequency field in the yearly row from "/mo" to "/yr". Then give the monthly row the CSS class pt-monthly and the yearly row the class pt-yearly, in each row’s Advanced tab. Set the classes on the rows, not the modules, so the whole set switches at once.
Add the switch and the CSS
Add a Code module above the rows and paste this HTML:

<div class="billing-toggle">
<span>Monthly</span>
<label class="switch">
<input type="checkbox" id="billing-switch" aria-label="Switch to yearly billing">
<span class="slider"></span>
</label>
<span>Yearly <small>(2 months free)</small></span>
</div>
Then add this to Theme Options custom CSS or the page’s custom CSS:
.billing-toggle { display: flex; justify-content: center; align-items: center; gap: 14px; font-weight: 600; }
.billing-toggle .switch { position: relative; width: 52px; height: 28px; }
.billing-toggle .switch input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; z-index: 2; }
.billing-toggle .slider { position: absolute; inset: 0; background: #cbd5e1; border-radius: 999px; transition: background .2s; }
.billing-toggle .slider::before { content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; background: #fff; border-radius: 50%; transition: transform .2s; }
.billing-toggle input:checked + .slider { background: #2563eb; }
.billing-toggle input:checked + .slider::before { transform: translateX(24px); }
body:not(:has(#billing-switch:checked)) .pt-yearly { display: none; }
body:has(#billing-switch:checked) .pt-monthly { display: none; }
The last two lines do the work. They hide the yearly row until the box is ticked, then hide the monthly row. Paste the CSS last, once both rows are finished, because the yearly row will disappear from the builder preview. To edit it later, remove the pt-yearly class temporarily. Test the switch on the live page, since the builder preview may not run it. The :has() selector works in all current major browsers.
Build the toggle with two sets of tables and a checkbox, and a plugin becomes optional.
Step 4. Start from a ready-made layout instead
A ready-made pricing layout skips most of steps 1 and 2: you import it, then replace the text, prices, links and colors. It is the right choice when you build sites for clients on tight timelines, or when you want a designer’s spacing without doing it yourself.
Import a free or premium layout
Layouts install through the Divi Library. In your WordPress dashboard:

- Go to Divi, then Divi Library.
- Click Import & Export at the top of the page.
- Open the Import tab and upload the layout’s JSON file.
- Open your page in the builder and load the layout from the Divi Library.
Divi Hat layouts import this way and stay fully editable in the Visual Builder. They work with Divi 5 and Divi 4 and need the Divi theme or Divi Builder, which is licensed separately by Elegant Themes. The free Divi Freelancer Layout includes a section for services and pricing, so it is a low-risk way to try the workflow. The Divi Hosting Theme ($29.99) is a Divi 5 child theme built for hosting companies, with pre-designed pages for services, pricing plans, FAQs and contact, plus header, footer and global styles. Members get the full library through the Divi Hat membership, so you can pick a pricing section from many designs.
What to check before you use a layout
Run through this list before you commit to any layout, free or paid:
- It is built with Divi’s own modules, so you can edit it without a plugin.
- It supports your version, Divi 5 or Divi 4.
- It stacks cleanly on a phone.
- The license allows use on client sites, if you build for clients.
- It uses real, editable text for prices, not images.
Add the step 3 toggle on top if the layout lacks one. The class names and CSS work on any layout whose plan sets sit in separate rows. Replace placeholder prices and links before you publish, because leftover demo text is the most common mistake with imported layouts.
A good layout gets you 80% of the way, and the last 20% is your prices, links and brand colors.
Ship the table, then test it
A pricing table in Divi comes down to four moves: choose a method, build and fill the module, style the featured plan and mobile view, and add the toggle if you sell monthly and yearly plans. The built-in module with a short CSS snippet covers most sites, and a layout covers the rest when time matters more than control.
Before you publish, click every button, switch the toggle both ways, and read the prices aloud against your actual plans. A wrong price costs more than any design flaw. If you want pricing sections, hero sections and full child themes ready to import, browse the Divi Hat membership library and start from a design instead of a blank row.
