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.
See the screenshot and video below showing fluid text in action!
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.
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.
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!
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.
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.
Learn More About Divi Responsive Helper
Make your website look great and function well on all device sizes with the help of Divi Responsive Helper, our suite of over 50 excellent features and unique settings! Here are some of the main solutions available:
- Set Default Responsive Breakpoint Values And Availability
- Prevent Accidental Inline Content Editing Per Breakpoint In Divi 5
- Disable Hover State Content Editing In Divi 5
- Hide Or Disable Responsive Editor Fields Per Breakpoint In Divi 5
- Improve Clarity And Context In Divi 5’s Responsive Editor Window
- Automatically Prevent Widow Words In Divi Headings And Paragraph Text
- Easily Apply Responsive Custom CSS For Any Device Size In Divi
- Set Default Section And Row Spacing Across All Divi Breakpoints
- Easily Manage Default Row Width And Max Width Across All Divi Breakpoints
- Set Different Column And Item Count For Modules On Each Device
- Control Column Stacking And Number Of Columns Per Row On Each Device
- Improve Menu Control Across WordPress And Divi
- Instantly See When Content Differs Across Breakpoints In Divi 5
- Make Breakpoint Switching More Intentional In Divi 5
- Automatically Scale Fluid Text Across All Screen Sizes In Divi 5
It truly is the ultimate Divi responsive toolkit!

















Thanks so much for the Divi responsive plugin. Saved me a LOT of time and a headaches.
You’re welcome Laurie, so glad you are enjoying the features!
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.
We cover this question in the tutorial. Due to the settings of our plugin for each device, you need to add the clam in each one too.