How To Use Text Stroke, Text Fill, And Variable Fonts Together In Divi 5

by | Aug 8, 2026 | Etcetera | 0 comments

Variable fonts, Text Fill, and Text Stroke are 3 other typography controls in Divi 5. The font controls the form of the letters. The fill controls what seems within them. The stroke controls the threshold.

You’ll use each and every one by itself, however they turn out to be extra robust whilst you mix them. A variable font could make a heading thick sufficient for a gradient to turn obviously. A clear fill and stroke can flip a phrase right into a hole define. A large, heavy letterform can hang a picture development with out shedding clarity.

There’s no unmarried recipe. Each and every design beneath makes use of the similar 3 elements otherwise. The primary layers defined and forged textual content round a cutout photograph. The second one makes use of a gradient-filled quantity with a mild stroke. The 3rd fills a full-width heading band with a picture development.

Alongside the way in which, we’ll take a look at how variable font axes, Textual content Fill, Textual content Stroke, Gradient Variables, and presets paintings in combination so you’ll be able to construct extra intentional typography results immediately within Divi 5.

Working out Variable Fonts, Textual content Fill, And Textual content Stroke

Those settings reside within the Design tab of text-based modules and textual content possibility teams, together with Textual content, Heading Textual content, and Identify Textual content. Variable font controls seem close to the font variety when the chosen font helps them. Fill and stroke settings seem within the textual content results house of the similar textual content workforce.

We lined each and every fill kind in our guide to Divi 5’s text fill options. On this educational, we’ll center of attention on how the settings have an effect on each and every different when you get started combining them.

Variable Fonts

Follow a supported variable font to a component, and Divi 5 presentations the axes to be had for that font. Each and every axis adjustments a part of the letterform.

Weight controls how heavy the strokes are. Width controls how slim or expanded the letters really feel. Relying at the font, you may additionally see axes corresponding to Slant, Grade, Skinny Stroke, Thick Stroke, or different font-specific controls.

For this educational, the necessary section is the skin house within each and every letter. Heavier and wider settings typically give fills more space to turn. Lighter and narrower settings depart much less room for gradients, pictures, and strokes to paintings.

The open spaces within letters like e, a, o, and g are referred to as counters. If a stroke is simply too thick or a font weight is simply too tight, the ones counters can begin to shut up. Stay that during thoughts as we construct the examples.

Textual content Fill

Textual content Fill controls what seems throughout the letter form.

Set Fill Kind to Gradient, and the letters are full of a gradient. Set it to Symbol, and the letters turn out to be a masks for a picture. Set it to Clear, and the interior of the letters turns into see-through, which goes neatly when paired with a stroke for defined textual content.

The fill most effective has the interior of the letter to paintings with. A heavy heading offers the fill a large floor. A gentle heading offers it a skinny strip. This is why a gradient can glance wealthy within a daring heading however virtually flat within a skinny one.

Textual content Stroke

Textual content Stroke attracts a line across the fringe of the letters. Crucial controls are Stroke Width, Stroke Colour, and Stroke Place.

Stroke Place issues as it adjustments how a lot of the fill remains visual. A targeted stroke sits in part throughout the letter and in part outdoor it. The internal section covers one of the vital fill. An out of doors stroke protects extra of the fill since the define sits past the letter form.

As an example, a targeted 3px stroke can paintings properly on a big, heavy heading as a result of there’s nonetheless quite a few fill visual throughout the letters. On a smaller or lighter heading, that very same stroke can take over an excessive amount of of the letter and make the fill more difficult to peer.

When you wish to have a stroke to outline the threshold with out chopping right into a gradient or symbol fill, use an outdoor stroke place the place to be had. When you wish to have the stroke to really feel extra built-in with the letterform, a targeted stroke can nonetheless paintings, particularly at massive sizes.

How The 3 Have an effect on Each and every Different

The font comes to a decision the letter form. The fill sits within that form. The stroke defines the threshold. That order issues. Set the variable font axes first so the letters have the precise weight, width, and counters. Then make a choice the fill. Then make a decision whether or not the stroke must be delicate, daring, targeted, or outdoor.

See also  Get a Free Farm to Table Layout Pack for Divi

A gradient wishes sufficient letter floor to turn motion. A picture fill wishes sufficient floor to turn element. A stroke wishes sufficient letter width to keep away from crowding the fill. While you needless to say dating, you’ll be able to mix the settings extra freely and nonetheless stay the heading readable.

Design 1: A Layered Hero With Defined And Forged Textual content

The primary design places two headings on best of one another. The again phrase is hole, the usage of a clear fill and a white stroke. The entrance phrase is forged white and sits over the cutout photograph.

Layered Divi 5 hero design with outlined and solid heading text

This mixture works as a result of each and every layer has a special activity. The defined phrase creates the dimensions and construction of the hero. The cutout photograph provides intensity. The forged phrase carries the primary message. Not anything right here wishes a gradient or symbol fill. The impact comes from the font axes, one clear fill, one stroke, and cautious stacking.

Step 1. Set Up The Phase And Row

Upload a brand new phase and open its settings. Underneath Background, set the phase background for your darkish base colour. For those who already use Colour Variables, pull at midnight colour out of your palette as a substitute of typing the worth manually. The remainder of the design makes use of white textual content and a white define, so the hero wishes a depressing floor at the back of it.

Dark background section settings in Divi 5

Subsequent, set the phase top. Underneath Sizing, set Min Top to 100vh so the hero fills the display screen. Then open Spacing and set Padding Best to 0px so the massive defined heading can take a seat nearer to the highest edge.

Upload a one-column row throughout the phase and open the row settings. Underneath Spacing, set Padding Best to 5%. This offers the heading some house with out growing a hard and fast hole that feels too massive or too small on other displays.

Row padding settings for the layered hero design

Step 2. Upload The Defined Heading

Upload a Heading module to the row and sort DIGITAL. That is the again layer of the hero. It must be big enough to anchor the phase, slim sufficient to suit around the format, and thick sufficient for the stroke to stick open and readable.

Adding the DIGITAL heading module in Divi 5

Open the Design tab and cross to Heading Textual content. Set the Heading Degree to H1 and make a choice Roboto Flex because the Heading Font. Roboto Flex works neatly right here as it will give you a number of helpful axes. Use those settings:

  • Variable Font Weight: 592
  • Variable Font Width: 38
  • Variable Font Grade: 56
  • Variable Font Skinny Stroke: 69

Variable font settings for the outlined DIGITAL heading

The slim width we could a seven-letter phrase stretch around the phase with out overflowing. Grade and Skinny Stroke give the letterforms sufficient frame to make stronger a thick define.

Now set the dimensions. Use clamp(11rem, 40vw, 38rem) for Heading Textual content Dimension. This we could the heading scale with the viewport whilst preserving it from turning into too small or too massive. Set Heading Letter Spacing to 5px and Heading Textual content Alignment to middle.

Responsive clamp text size for the outlined heading

Now flip the phrase into an overview. Set Heading Fill Kind to Clear. Then set Heading Stroke Width to 8px and Heading Stroke Colour to #FFFFFF.

The clear fill makes the interior of the phrase see-through, whilst the stroke attracts the letter edges. For the reason that variable font settings give the letters sufficient construction, the 8px stroke remains readable as a substitute of remaining up the counters.

In case your stroke begins to crowd the interior of the letters, both decrease the stroke width, building up the font weight, building up width rather, or transfer the stroke outdoor if that possibility suits the design. Subsequent, set the stacking order. Open the column settings, cross to Design > Place, and set Z Index to 0. Then open the defined Heading module, cross to Place, and set its Z Index to 1.

The defined phrase now has its position within the stack. The picture and the forged heading will take a seat above it.

Step 3. Position The Cutout Photograph Over The Define

Upload an Symbol module beneath the defined heading and add your cutout photograph. Use a picture with the background already got rid of so the topic can take a seat between the 2 textual content layers cleanly.

Adding the cutout image module in Divi 5

Open the Design tab and cross to Sizing. Set Width to 100% so the picture fills the column. Then open Spacing and set Padding Backside to 300px. This helps to keep sufficient room beneath the cutout for the forged heading layer.

Now elevate the picture out of the traditional format go with the flow. Move to Place and set Place to Absolute. Set Vertical Offset to 100px, then modify the worth till the topic sits the place you wish to have it throughout the defined phrase.

Position settings for the cutout image module

Set the picture Z Index to 2. The defined heading is on 1, so the photograph now sits above it. The description stays visual at the back of the topic and disappears anyplace the picture overlaps it.

Step 4. Upload The Forged Heading

Upload a 2nd Heading module beneath the picture and sort CREATIVE. That is the entrance layer. It makes use of the similar font because the defined phrase, however other axis values so the 2 phrases really feel similar with out having a look similar.

Adding the CREATIVE heading module in Divi 5

Open the Design tab and cross to Heading Textual content. Set the Heading Degree to H2 and set the Heading Font to Roboto Flex. Use those variable font settings:

  • Variable Font Weight: 550
  • Variable Font Width: 25
  • Variable Font Grade: -63
  • Variable Font Skinny Stroke: 69
  • Variable Font Thick Stroke: 103
See also  11 Best WordPress Contact Form Plugins in 2023

Variable font settings for the CREATIVE heading

The width is narrower than the defined phrase so the longer phrase can nonetheless are compatible around the phase. Grade strikes in the other way from the defined heading, trimming the letters rather with out converting the total width up to weight would.

Set Heading Textual content Dimension to clamp(11rem, 25vw, 34rem), Heading Line Top to 1em, and Heading Letter Spacing to 5px. Set Heading Textual content Alignment to middle and Heading Textual content Colour to #FFFFFF.

Solid white CREATIVE heading settings in Divi 5

Go away Heading Fill Kind on None and don’t upload a stroke. The entrance phrase must keep easy since the again phrase is already wearing the description impact. Now position it within the stack. Move to Place and set Place to Relative. Set Z Index to 3 so it sits above each the defined phrase and the photograph.

Set Vertical Offset to -222px to drag the phrase into the decrease part of the defined heading. Alter that worth in line with your ultimate symbol place and textual content dimension.

Positioning the front CREATIVE heading over the layered hero

Step 5. Upload The Tagline And Hyperlink Row

The principle kind impact is completed. Now upload the supporting textual content and hyperlink. Upload a brand new row beneath the hero row and make a choice a two-column construction. If the row conflicts with the layered content material above it, upload best margin till the spacing feels balanced.

Position a Textual content module within the left column for the tagline and a 2nd Textual content module in the precise column for the hyperlink. Set the precise column textual content to correct alignment so it sits on the reverse fringe of the phase.

Two-column tagline and link row below the layered heading

Stay those supporting textual content components easy. Use small uppercase textual content, white colour, and no fill or stroke. If you have already got presets for small textual content and hyperlinks, follow the ones as a substitute of styling the modules manually.

Step 6. Take a look at The Smaller Displays

Maximum of this design is responsive by way of design. The headings use clamp(), the phase makes use of vh, the row padding makes use of a share, and the picture width is ready to 100%. The fastened pixel values want overview.

Transfer to pill and get in touch with perspectives and take a look at the Vertical Offset at the CREATIVE heading. The desktop worth might position the heading too top or too low as soon as the textual content scales down. Set responsive values for pill and get in touch with till the overlap appears intentional at each and every breakpoint.

The picture module’s Vertical Offset and Padding Backside might want the similar remedy.

Then take a look at the ground row. On desktop, the tagline and hyperlink take a seat throughout from each and every different. On telephone, the columns stack, and the distance between the heading and tagline can get too tight. Upload responsive best margin to the row on telephone if the format wishes extra respiring room.

Two Extra Heading Diversifications With Gradient And Symbol Fill

The following two designs use the similar 3 settings in several combos.

The primary fills a big quantity with a gradient and provides a mild stroke. The second one fills a full-width heading band with a picture development. Each depend on variable font axes first, since the fill most effective works when the letters are vast and heavy sufficient to turn it.

Variation 1: A Gradient Fill On An Outsized Quantity

Numbers are a powerful floor for gradient fills. Digits like 2, 5, and 0 create vast shapes, so the gradient has room to transport around the letterform as a substitute of having squeezed right into a slim stroke.

Oversized gradient-filled number design in Divi 5

Earlier than styling the quantity, construct the gradient as soon as and put it aside as a variable.

Open any gradient box, create the gradient you wish to have, then right-click the gradient box and make a choice Convert To Variable. Give it a role-based title corresponding to Emblem Gradient. The gradient now lives within the Variable Supervisor and will also be reused anyplace gradients are supported, together with textual content fills.

The format makes use of two rows.

The primary row has 3 columns, with the center column set wider so the massive quantity has enough space. The left column holds the phase heading and supporting textual content. The center column holds the massive quantity. The best column holds the icon and outline.

The second one row has 3 equivalent columns. Each and every column incorporates a nested two-column row so a smaller quantity can take a seat beside its label and textual content.

Row and column structure for the gradient number layout

Each and every quantity is a Heading module with Fill Kind set to Gradient. The massive quantity makes use of the stored Emblem Gradient variable and a skinny white stroke. The smaller numbers use gradient fills with out strokes so the fill remains visual at their smaller dimension.

For the massive quantity, use a Heading module set in Roboto Flex with those settings:

  • Variable Font Weight: 615
  • Variable Font Width: 49
  • Heading Textual content Dimension: 500px
  • Heading Fill Kind: Gradient
  • Heading Gradient Fill: Emblem Gradient
  • Heading Stroke Width: 6px
  • Heading Stroke Colour: #FFFFFF

The load and width make the 6px stroke workable. If the quantity have been lighter or narrower, the stroke would take an excessive amount of house clear of the gradient. Because the quantity is big and heavy, the fill nonetheless has enough space to turn the mix.

See also  8 Best AI Copywriting Tools in 2023 (Reviewed & Rated)

For the smaller numbers, use gradient fills with out stroke. At smaller sizes, even a skinny define can crowd the fill and make the gradient more difficult to learn.

One element to bear in mind: the gradient maps to the textual content field, and the letters act like home windows onto it. A large textual content field presentations extra of the gradient. A slim one compresses the visual a part of the mix. If two gradient-filled numbers glance other, take a look at each the gradient settings and the dimensions of the module field.

Variation 2: A Development Fill On A Complete-Width Band

The remaining design runs one massive line of textual content around the complete width of the phase and fills the letters with a picture development. This sort of band works neatly as a footer-style remaining mark, marketing campaign signoff, or visible divider.

Full-width heading band with image fill and orange stroke in Divi 5

The format makes use of two rows. The primary row holds the remaining content material at the left: an eyebrow, heading, brief paragraph, and hyperlink. The second one row is a one-column row conserving the full-width heading band. Take away additional phase padding across the band so the letters can run nearer to the phase edges.

The band is a Heading module set in Roboto Flex. Use those settings:

  • Variable Font Weight: 766
  • Variable Font Width: 25
  • Variable Font Grade: -200
  • Heading Textual content Dimension: 14vw
  • Heading Fill Kind: Symbol
  • Symbol Fill Place: Best Left
  • Heading Stroke Width: 3px
  • Heading Stroke Colour: #e68110

The width axis does lots of the format paintings. At 25, the letters are slim sufficient to suit around the phase. The load at 766 helps to keep each and every letter thick sufficient to turn the development. Drop the load too a ways and the picture fill turns into skinny strips of colour. Building up the width an excessive amount of and the band might not are compatible cleanly around the phase.

A development works higher right here than an in depth {photograph}. A photograph ceaselessly has one sturdy focal house and numerous quieter spaces, which means that some letters might display the fascinating section whilst others display filler. A repeating development offers each letter a an identical stage of element.

The stroke is helping hang the perimeters in combination. Because the development has gentle spaces and the background may be gentle, a 3px orange define helps to keep the phrase readable regardless of which a part of the development seems within each and every letter.

Orange stroke color settings for the image-filled heading band

If the stroke begins to cover an excessive amount of of the picture fill, cut back the stroke width or transfer the stroke outdoor. If the picture fill begins to lose its element, building up the font weight or make a choice a development with more potent distinction.

Save The Remedy As A Preset

The gradient quantity makes use of a number of settings: a selected font, axis values, a big textual content dimension, a gradient fill, a stored Gradient Variable, and a stroke. As a substitute of rebuilding that aggregate each time, put it aside as a preset. Open the Heading module that holds the massive quantity. Hover close to the highest of the settings panel, click on the Preset icon, make a choice New Preset From Present Kinds, and title it one thing transparent, corresponding to Gradient Quantity.

The preset now shops the styling choices for that Heading module, together with the variable font settings, textual content dimension, gradient fill, and stroke. Follow Gradient Quantity to every other Heading module and the similar remedy seems right away.

If the gradient fill makes use of the Emblem Gradient variable, the preset helps to keep that variable connection. Edit the gradient variable later and each heading the usage of that variable can replace with it.

You’ll additionally separate duties with presets. Let one preset maintain the typography impact, and let your current spacing, colour, or format presets maintain the encompassing construction. That helps to keep the impact reusable with out making each heading at the web site behave precisely the similar means.

Get Ingenious With Textual content Inside of Divi 5

Variable fonts, Textual content Fill, and Textual content Stroke in Divi 5 paintings perfect whilst you recall to mind them as a series.

First, use the variable font axes to form the letters. Cause them to heavy sufficient, vast sufficient, slim sufficient, cushy sufficient, or condensed sufficient for the design. Then make a choice the fill that belongs within the ones letters: forged colour, gradient, symbol, or clear. In any case, upload a stroke when the threshold wishes definition.

Each and every instance on this educational carried out the similar thought in several tactics. The layered hero used clear fill and a white define. The outsized quantity used a gradient fill with a mild stroke. The entire-width band used a picture development with an orange define.

As soon as you know how the font form, fill, and stroke have an effect on each and every different, you’ll be able to create your personal combos with out depending on fastened formulation.

The submit How To Use Text Stroke, Text Fill, And Variable Fonts Together In Divi 5 seemed first on Elegant Themes Blog.

WordPress Maintenance Plans | WordPress Hosting

read more

0 Comments

Submit a Comment

DON'T LET YOUR WEBSITE GET DESTROYED BY HACKERS!

Get your FREE copy of our Cyber Security for WordPress® whitepaper.

You'll also get exclusive access to discounts that are only found at the bottom of our WP CyberSec whitepaper.

You have Successfully Subscribed!