Subscribe On YouTube

Join other subscribers and enjoy other Divi video tutorials!

Easy Fluid Text In Divi 5: Automatically Scale Responsive Typography Without Math Or Setup

Nelson Miller Profile Orange
In this tutorial, I’ll show you what fluid text is and how to automatically scale your headings and body text in Divi 5 without any math or manual setup.

Introduction

Fluid text may seem like a technical term, but it’s actually a simple concept. Rather than using fixed font sizes for different screen sizes, fluid text adjusts smoothly with the screen width, making your text look natural on any device.

Setting up fluid text by hand can be tricky and take a lot of time. In this guide, we’ll break down what fluid text is, how it works, and share a simpler way to use it in Divi without having to do all the setup yourself.

▶️ Please watch the video above to get all the exciting details! 👆

What Fluid Text Is

Fluid text is a way of making your font sizes adjust smoothly as the screen width changes. Instead of jumping between fixed sizes at different breakpoints, the text gradually scales between a smaller and a larger size.

This is different from the typical responsive approach in Divi, where font sizes are set at specific breakpoints. For example, if your goal was to make your text as responsive and proportional as possible across all screen sizes, you would technically need to set a slightly different font size at every possible breakpoint.

You might end up with values like 16px on Phone, 17px on Phone Wide, 18px on Tablet, 19px on Tablet Wide, 20px on Desktop, and 22px on Ultrawide just to keep things looking right.

The problem is that this takes a lot of effort to set up and maintain, and it still doesn’t account for all the screen sizes in between. With that method, text changes in steps. With fluid text, the change is continuous. Instead of defining all those incremental values, fluid text automatically scales between a minimum and maximum size so your typography stays balanced at any screen width.

What Fluid Text Looks Like In Practice

The easiest way to understand fluid text is to compare it directly with how text behaves using standard breakpoint values.

On a site without fluid text, open your website and use your browser’s developer tools to resize the preview area (watch the video above to see how to do this). As the screen width changes, you will notice the text stays the same size until it reaches a breakpoint, then suddenly jumps to the next value. For example, moving from Desktop at 981px to Tablet Wide at 980px might instantly change a heading from 20px to 19px.

With fluid text, that jump disappears. Instead of snapping between values, the font size adjusts continuously. At a width like 964px, that same heading might be something like 19.7px, scaling naturally between your defined sizes.

You can actually watch this happen in real time as you resize the screen. The text grows or shrinks smoothly rather than stepping between fixed values, making the layout feel more balanced and consistent.

To clarify, this is not about someone resizing their browser, as that usually doesn’t happen in real life. It is about all the screen sizes the person uses to view the page, and since there are thousands of devices, most will fall within your defined breakpoints. When you set values like 60px for desktop, 36px for tablet, and 24px for phone, there are many screen sizes in between where those exact values do not quite fit. Fluid text fills those gaps by calculating a font size along the natural scale between those values based on the actual screen width, so the typography always feels appropriate for the device being used.

CSS Clamp illustration in Divi by Pee Aye Creative

The Hard Way: Creating Fluid Text Manually

If you want to create fluid text manually, it is absolutely possible, but it requires a bit more work and some understanding of how the calculations work.

Using CSS clamp()

At the core of fluid typography is a CSS function called clamp(). This allows you to define a minimum size, a preferred scaling value, and a maximum size, all in a single line. As the screen width changes, the font size scales between those values.

Before we get into this, this is not meant to be a full course on CSS clamp. There are plenty of resources available if you want to learn it in depth. The goal here is just to understand the basics of how it works in the context of fluid text, and why it can become time-consuming when used manually across a full site.

The structure of clamp() in CSS looks like this:

text-size: clamp(minimum, preferred, maximum);
  • Minimum is the smallest size the text will ever be
  • Preferred is the fluid value that scales based on screen width
  • Maximum is the largest size the text will reach

This is what makes fluid text possible without needing to define separate values at every breakpoint.

Here’s a simple example of what a CSS calc function could look like:

font-size: clamp(1.5rem, 4vw, 3rem);

Doing The Math

This is where things start to get more involved. To get the scaling behavior just right, you typically need to calculate values based on your desired minimum and maximum sizes and the viewport range you want to target.

That often means:

  • figuring out the slope of the scaling
  • calculating an intercept value
  • combining everything into a clamp() formula

You can use online calculators to help with this, but it still requires some trial and error to get the results you want.

Divi 5 New Variable Generator

In Divi 5, there is a new variable generator that can also handle the math for you. This seems great on the surface, until you realize that you still need to go into every text field in every module in every breakpoint and add the variable. If you are looking for a tool to handle the math, Divi has this built in.

example of the divi variable generator

Using It In Divi

Once you have your fluid value, you then need to use it in Divi. This usually means creating a variable or manually entering the value into font size fields that support custom input.

From there, you still need to:

  • apply it to your headings and body text
  • repeat that across different modules
  • make sure it is used consistently throughout your layout

So while this approach works, it quickly becomes something you have to manage across your entire site.

Why This Approach Is Not Practical

The issue is not that it doesn’t work, it’s everything that comes with it.

To create fluid text manually, you usually need to use an online calculator, figure out your minimum and maximum sizes, define a viewport range, and then generate the correct clamp() value. After that, you still need to copy that value and use it in Divi.

And before any of that, you need to understand what you are doing in the first place.

Even experienced designers often rely on calculators for this because the math is not something most people memorize or want to deal with. It becomes a process of generating values, testing them, adjusting them, and repeating until it looks right.

Then once you have the value, you still need to use it across your site, which brings you right back to the same kind of setup and repetition we talked about earlier.

So while this method works, it is not something most people want to manage long term.

A Simpler Way To Use Fluid Text In Divi

Instead of calculating values, copying them, and managing everything manually, you can handle fluid text in a much simpler way.

With our Divi Responsive Helper plugin, you don’t need to use calculators or understand the math behind clamp(). You simply define the smallest and largest sizes your text should use, and the plugin takes care of the rest.

Here’s a look at the settings. With just one toggle, you can enable the feature, add a few simple values for your largest and smallest text, and be done! The plugin takes care of the rest!

Divi Responsive Helper Fluid Text settings panel

View The CSS Clamp Fluid Text On The Frontend

Once those values are set, your text automatically scales across all screen sizes without needing to set values at different breakpoints or apply anything manually throughout your layout. Headings also maintain their proper hierarchy, so H1 through H6 stay balanced as they scale.

To check this, open your browser’s developer tools and inspect some text. You’ll see that the font sizes are set according to the math based on the largest and smallest font sizes set in the settings. If you resize the screen, you can see for yourself how it works.

Browser developer tools inspecting Heading 1 element

Video Example Of Fluid Text

In this video, you can see how fluid text looks in action when you resize the screen. The video demonstrates our Fluid Text feature in the Divi Responsive Helper, but the result on the frontend would work the same with any method.

This turns what typically is a multi-step process into something you can set up in just a few seconds. If you want more details on how to configure this, you can follow our Fluid Text feature documentation for a full walkthrough of the settings.

Last updated May 18, 2026

Subscribe For More Divi News & Resources!

At the start of each month, we send out a recap newsletter from the month before with family news, Divi news, our latest tutorials, product news, and a look behind the scenes. Occasionally, if the news is too exciting to wait, we will send out another email separate from the monthly newsletter. That’s what you get when you subscribe, and of course, you can unsubscribe if you are no longer interested!

Blog Post Optin
Divi Logo (2)

Shop Our Divi Products

Plugins • Courses • Templates

Visit The Shop

Featured Products

Asset 4

New! Trail Guides

Follow a series of blog posts carefully arranged around a specific topic or goal! Keep track of your progress by marking posts completed, just like a free course!

View Trail Guides

Divi Tutorials On YouTube

Our videos have views! Join subscribers and enjoy over video tutorials!

Visit Our Channel

Leave A Response!

By commenting you agree to our Blog & YouTube Comments Policy

19 Comments

Comments By Members

These comments are highlighted because they were posted by fans who have a membership on this site.

  1. Laurie Williams <span class="comment-author-role-label"><a href="https://www.peeayecreative.com/product/divi-adventure-club/" class="comment-author-role-link" rel="external nofollow" target="_blank">Divi Adventure Club Member</a></span>

    Thanks so much for the Divi responsive plugin. Saved me a LOT of time and a headaches.

    Reply
  2. Leslee Langlands <span class="comment-author-role-label"><a href="https://www.peeayecreative.com/product/divi-adventure-club/" class="comment-author-role-link" rel="external nofollow" target="_blank">Divi Adventure Club Member</a></span>

    Thanks for this! It was happenstance that I was looking into clamp the same day you posted this!

    My question is, do you need to set clamp for each of the three displays? I thought that if you set the max to what your desktop would be, and your min to what you phone would be, would it not fill in the rest and you would not need the other two?

    Thanks so much! Love your tutorials.

    Reply

Comments By Others

  1. Ronny Kreuzberg

    Thanks man for the Plugin but DIVI should really implement clamp, also for padddings and margins etc.

    Reply
  2. David

    thanks nelson for the tutorial, I need to ask you something, with this plugin if you want an h1 to have different sizes on a desktop computer screen, for example 1024/1366/1920, it would only be enough for me to use the “H1 Heading Text Size” field – Desktop” the following values: clamp(15px, 20px, 30px)?

    Reply
  3. Neil

    Hi Nelson, Thanks for this tutorial. I’ve been grappling with Clamp and using it in combination with Calc for quite a while now, looking for that magic bullet solution. The problem I’ve always found is trying to determine a way to calculate the ‘preferred’ value without trial and error.
    I’d like to have it so that at the max viewport width e.g. 1920px it is the max value in Clamp. Then is scales down linearly to the tablet break point at 980px. What I’m finding though is that unless the preferred value is correct it will reach the max or min values before the upper and lower breakpoints.

    I currently use a Calc equation in the preferred value that works perfectly but it is very time consuming putting it in all the modules for the three different Divi screen sizes as you pointed out in your video.

    So I guess in summary, how do ‘you’ determine the preferred value?

    Thanks

    Reply
  4. clarky

    Do you have a toturial for copy to clipboard? same as what you are using in the tutorial on the top?

    Reply
      • bnbae

        i will be waiting for this also

  5. ron

    as I said, I have no customizations. still no succes with paragraph.

    Reply
  6. ron

    Hi Nelson. Great post I was looking for a long time. Thanks for that

    I managed the settings in the Responsive pliugin for all H1-6 font sizes and it worked very well. Also with the help of this tutorial: https://www.fluid-type-scale.com/ 😉

    However, the paragraph font-size is not fluid. How do I set these in the plugin??

    Thanks for your help and keep up the good work.

    regards, Ron

    Reply
      • Ron Linders

        I know where it is located but paragraph text sizes for not change.
        They is no overwriting with non standard sizes. I am confused..

      • Nelson Lee Miller (aka The Divi Teacher) <span class="comment-author-role-label author-label">Author</span>

        You will need to remove any other preset/customization to the font size, that’s how our settings work. the feature works, just need to make sure it has priority so if you have any adjustment in the modules, it is designed that way on purpose to override ours.

Submit a Comment

Your email address will not be published. Required fields are marked *

Recent Posts

Last updated May 18, 2026
Shopping cart0
There are no products in the cart!
You may be interested in…
Divi Builder Experience Helper Plugin by Pee-Aye Creative
From: $36.00 / year

Select options This product has multiple variants. The options may be chosen on the product page

divi assistant plugin by pee aye creative
From: $69.00 / year

Select options This product has multiple variants. The options may be chosen on the product page

Divi Carousel Maker Plugin by Pee Aye Creative
From: $29.00 / year

Select options This product has multiple variants. The options may be chosen on the product page

Logo for D Beginner Course with graduation cap
From: $47.00 / year

Select options This product has multiple variants. The options may be chosen on the product page

divi events calendar
From: $54.00 / year

Select options This product has multiple variants. The options may be chosen on the product page

Continue shopping
0