Links

Text Widget

Using the Text widget, you can add text content to your layout builder. It is one of the most basic but essential tools in your toolkit.

1. How to add Text widget

Open your layout and click to add a new element. By clicking on adding a new element, you'll see a popup including all the widgets available in the library.
Simply choose the Text widget from the Widget list, then it'll be added to the layout's section where you want to add a Text widget.
Select the text widget
The Text Widget settings consist of 3 different tabs:
  • General Settings
  • Design Settings
  • Responsive Settings

2. Text Widget - General Settings

Now it’s time to customize the Text element how you want. You will find the options you need by clicking to edit the text element icon on the inline editor. This will open the Text settings where you will be able to adjust the following:

2.1 Text Heading Style

  • Heading: Enter the heading title of the text content.
  • HTML Element: From here, you’ll be able to select the HTML elements you want your heading to consist of. Options include H1, H2, H3, H4, H5, and H6.
  • Font Family: Choose a font family for the text heading.
  • Alt Font Family: It means Alternative Font Family. Choose an alt font family in case the browser does not support the first font, it tries the next font.
  • Font-weight: Set the font weight for the text heading.

2.2 Text Content Options

In this part, you can input the text in the content box, and configure typography settings for the added content to fit your preference including font family, alt font family, font weight, font size, letter spacing, line height, text-transform, and font color,
  • Custom Class: Write the class name used for writing custom CSS or JS.
  • Custom ID: Give a custom ID to override the auto-generated ID

3. Design Settings

  • Animation: Choose an animation for the widget.
  • Max Width: Set the Max Width for the widget.
  • Text Alignment: Set the alignment of the text of the widget.
  • Background Type: Select the background type for the widget from None, Color, Image, Video or even add a Gradient.
  • Custom Color: Choose whether you want to enable or disable the custom colors for the widget. If you enable it then you have the option to set Text Color, Link Color & Link Hover Color of the element’s content.

Spacing

Spacing settings
Add margin and padding values over the row to improve its appearance on different devices.

4. Responsive Settings

Configure responsive settings
Device Visibility: Choose your preference for hiding or showing the section on different screens like:
  • Hide on Extra Small Devices
  • Hide on Small Devices
  • Hide on Medium Devices
  • Hide on Large Devices
  • Hide on Extra Large Devices
© Astroid Framework 2023.