Nested Variables, Variable Math & Variable Combinations for Divi 5
I’m excited to introduce a new level of flexibility for Divi 5 variables: combine them, nest them within other variables, and use them directly in calculations within your settings. 🎉 Create spacing relationships that stay connected as your design changes. Build fluid sizes from shared minimum and maximum values. Mix reusable text, dynamic content, and your own words in the same field. This expands on Design Variables and works alongside Relative Colors , turning reusable values into the building blocks of more connected designs and content. Let’s take a look at how it works. 👇 Create Design Relationships With Variable Math A number variable can now be part of a calculation. Insert your variable into a supported number field, then combine it with other values using addition, subtraction, multiplication, or division. Imagine a section with padding controlled by a Spacing variable. You want an image inside that section to extend beyond its edge. Use the same variab...