Module Overview
The Text Module can insert text content into your category layouts.
This can be useful if you need to display a disclaimer or notice for certain post categories (like reviews, perhaps?).
How to Add the Extra Text Module to a Category Layout
Go to WordPress Dashboard → Extra → Category Builder
Create or Edit a Category Layout
Click on the Insert Module(s) button
Click on the Text module.
All Extra Text Module Options Explained
Once added, the module's Settings modal window will automatically pop up. This is where this module's content and design styles are configured.
These settings are organized into three groups via the tabs at the top of the module:
Content
Design
Advanced
Content Tab
Inside this tab, you’ll find the content options available for this module.
Text
Body - Type your text here. You can use the formatting toolbar to style your text and find more text styling options under the Design tab. Click the text tab if you’d like to edit the HTML of the text.
Link
If you would like to apply a clickable link to the entire module, you can do so here.
Module Link URL - Paste the URL of the link you would like to apply to this module here. This makes the entire module clickable, and when clicked, it will direct visitors to the URL pasted here.
Module Link Target - Defining a link target determines whether the link, when clicked, opens in a new tab or the same window.
In The Same Window - if you want the link to open in the same window
In The New Tab - if you want that link to open in a new tab.
Background
In the Background option group, the following options can be set:
Background Color
Background Gradient
Background Image
Background Video
Background Pattern
Background Mask
For more in-depth guidance regarding all background options, please check this guide.
Admin Label
The Admin Label is where you can give the module a name only visible to you to assist in keeping things organized and easy to understand on the back end. By default, the admin label will be the name of the module. You can change the text of the admin label to reflect what you’d like.
Design Tab
Inside this tab, you’ll find all the design styles and settings for the text.
Text
Text Font - Choose the font you want to use for the text. The default font is automatically selected; however, you can choose a different font or upload a custom font by clicking the dropdown box.
Text Font Weight - Select the boldness of the text font.
Text Font Style - Choose the text font style:
Italicized
Capitalized
Small Capitals
Underlined
Strike-through
Text Text Color - Choose a specific color for the text. Select from your site’s color palette or click the eyedropper icon to find a new color.
Text Text Size - Choose the font size of the text by dragging the range slider or typing in a numerical value.
Text Letter Spacing - Choose the letter spacing of the text by dragging the range slider or by typing in a numerical value. Letter spacing is the space between each letter. The higher the number, the more space.
Text Line Height - Choose the line height of the text by dragging the range slider or by typing in a numerical value. The line height is the amount of space between each line of text. The higher the number, the more space.
Text Shadow - A drop shadow to the text here. Once a style is selected, you can configure the direction of the shadow (horizontal and vertical), the strength of the drop shadow blur, and the shadow color.
Text Alignment - Choose how the text aligns:
Left
Center
Right
Justify
Text Color - Select this module's default text color palette: light or dark. The default light color palette and dark color palettes can be configured in the Divi Theme Options.
Heading Text
These are the settings for specific styling and configuration for the Heading Text only.
Heading Level - Choose the heading level you want assigned to the heading text: h1, h2, h3, h4, h5, or h6.
Heading Font - Choose the font you want to use for the heading text. The default font is automatically selected; however, you can choose a different font or upload a custom font by clicking the dropdown box.
Heading Font Weight - Click the dropdown to select the boldness of the heading text font.
Heading Font Style - Choose the style of the heading text font:
Italicized
Capitalized
Small Capitals
Underlined
Strike-through
Heading Text Alignment - Choose the text alignment specifically to the heading text only:
Left
Center
Right
Justify
Heading Text Color - Choose a specific color for the heading text. Select from your site’s color palette or click the eyedropper icon to find a new color.
Heading Text Size - Choose the font size of the heading text by dragging the range slider or typing in a numerical value.
Title Letter Spacing - Choose the letter spacing of the heading text by dragging the range slider or by typing in a numerical value. Letter spacing is the space between each letter. The higher the number, the more space.
Title Line Height - Choose the line height of the heading text by dragging the range slider or by typing in a numerical value. The line height is the amount of space between each line of text. The higher the number, the more space.
Heading Text Shadow - Add a drop shadow to the heading text. Once a style is selected, you can configure the direction of the shadow (horizontal and vertical), the strength of the drop shadow blur, and the shadow color.
Sizing
Width - Defines the
width
of the module. For more information, please check out the official documentation.Max Width - Defines the maximum width of the module. For more information, please check out the official documentation.
Module Alignment - If a
Width
or aMax Width
value is set, the module alignment can be set using the three options:Left Aligned
Center Aligned
Right Aligned
Min Height - Defines the minimum value for the module's height. For more information, please check out the official documentation.
Height - Define the
height
of the module. For more information, please check out the official documentation.Max Height - Defines the maximum height value the module can have. For more information, please check out the official documentation.
Spacing
You can add margins or spacing to this module by typing numerical values.
Margin adds space outside the module, and padding adds space inside the module. To lock in ratios and keep the values the same, click the chainlink icon between the values you want to always be identical (ex, top and bottom).
Default
margin
values for the module are0
.Default
padding
values for the module are0
.
Border
Add a border to the module. You can add a complete border or a border to only one side of the module. Adjust the width via the range slider and select a color. Choose a border style by clicking the dropdown.
Rounded Corners – Type in a numerical value for round border corners. The higher the number, the rounder the corners will be. The corner values are automatically linked (as seen by the highlighted blue chainlink in the middle); however, if you’d like to have different values for each corner, click the blue chainlink to unlink the values. If the values are automatically linked, they will always have the same value and update automatically if one value is changed.
Border Styles – Add a border to all sides of the module or individual sides (top, right, bottom, and left).
Border Width - Set the width of the border. For a thicker border, increase the number. The border width must be at least 1px to show.
Border Color – Choose the color of the border. You can select a color from your default site color palette that is already displayed or click on the eyedropper icon to find a new color.
Border Style – Select what border style you’d like: solid, dashed, dotted, double, groove, ridge, inset, outset, or none.
Box Shadow
Add a drop shadow to the entire module. Once a shadow style is clicked, you can customize the following options:
Box Shadow Horizontal Position - Defines the horizontal position of the drop shadow.
Box Shadow Vertical Position - Defines the vertical position of the drop shadow.
Box Shadow Blur Strength - Defines the strength of the shadow's blur. The higher the value, the bigger the blur and the wider and lighter the shadow becomes.
Box Shadow Spread Strength - Defines the spread strength of the blur. Increasing the spread strength will increase the density of the box shadow. Higher density results in a more intense shadow.
Shadow Color - Defines the shadow's color.
Box Shadow Position - Defines the shadow's position. It can be inside the module or outside the module.
Filters
Adjust the module's filters:
Hue - Defines the hue angle of a color.
Saturation- Defines how intense the color saturation should be.
Brightness - Defines how bright the colors should be.
Contrast - Defines how distinct bright and dark areas should be.
Invert - Invert the hue, saturation, and brightness by the specified value.
Sepia - Defines a warmer, more yellow/brown appearance.
Opacity - Defines how transparent or opaque the background (color, gradient, image, etc.) should be.
Blur - Defines the amount of Gaussian Blur applied to the module.
The Blend Mode refers to how the module blends with the layers beneath it. By default, normal will be selected.
Animation
Here, you can apply animation to the module. Once you choose a style, you can adjust the following options:
Animation Duration - Defines the length of time that an animation takes to complete one cycle.
Animation Delay - Define the amount of time to wait from applying the animation to an element before beginning to perform the animation. The animation can start later, immediately from its beginning, or immediately and partway through the animation.
Animation Starting Opacity - Define the starting opacity value.
Animation Speed Curve - Define the easing method of your animation. Easing your animation in and out will create a smoother effect than a linear speed curve.
Animation Repeat - By default, animations will only play once. If you want to loop your animation continuously, choose the Loop option here.
Advanced Tab
Within the Advanced tab, you will find options that more experienced web designers might find useful, such as custom CSS.
Here, you can apply custom CSS to your module. You can also apply custom CSS classes and IDs to the module, which can be used to customize the module's styles with more advanced CSS properties or to apply custom CSS code using the module's CSS class.
Custom CSS ID and Classes
Assign a specific CSS ID or Class to this module. This is helpful when applying custom CSS to a module by using your child theme's stylesheet.
Custom CSS
There are four sections where custom CSS rules can be added:
Before - This will add the CSS rules using the
::before
pseudo selector.Main element - The CSS rules will be applied to the entire module.
After - The CSS rules will be applied to the module's
::after
pseudo selector.CSS - The CSS rules will be applied to the entire module.
Visibility
Disable on - Defines the visibility of the module. You can disable it (hide it from view) when the display window is a Phone, Tablet, or Desktop by clicking the corresponding checkbox.
Horizontal Overflow - Defines what shows when content overflows a block-level element's left and right edges. This may be:
Visible - The content will show if the module's content overflows its height.
Scroll - If the module's content overflows its height, a vertical scroll bar will be used to scroll through its content.
Hidden - If the module's content overflows its height, the part of the content that overflows will be hidden.
Auto - The browser will decide whether a scroll bar will be shown.
Vertical Overflow - Defines what shows when content overflows a block-level element's top and bottom edges. This may be:
Visible - The content will show if the module's content overflows its height.
Scroll - If the module's content overflows its height, a vertical scroll bar will be used to scroll through its content.
Hidden - If the module's content overflows its height, the part of the content that overflows will be hidden.
Auto - The browser will decide whether a scroll bar will be shown.
Transitions
This controls the hover animation's transition duration, delay, and speed curve.
Transition Duration - Defines the duration (in milliseconds) of the transition of the hover animation.
Transition Delay - Defines the transition delay of the hover animation (in milliseconds).
Transition Speed Curve - Defines the transition speed curve of the hover animation.