The information on this page relates to beta testing within the DXP

This documentation includes information for selected beta testers within the DXP. DO NOT use this unless you have been instructed to do so.

Inset text

Use the inset text component to differentiate a block of text (such as a quote or example) from the content that surrounds it.

Add the component to your page

When you are editing your page using page-builder:

  1. Add a component to your page by clicking the widgets Add component button or by adding a content block (by clicking the add_circle button) then clicking the add component button.

  2. Locate the inset text Squiz core component within the component browser and then click the select button.

    inset text component select

  3. This will add the inset text component to your page.

Configure the inset text component

inset text fields
  1. Enter the content to display.

  2. (Optional) This allows you to add a unique ID into the HTML markup to the instance of the component so that you can add custom styling and functionality using CSS and javascript respectively.

  3. (Optional) This allows you to add a class into the HTML markup to the instance of the component so that you can add custom styling and functionality using CSS and javascript respectively.

Basic example

The image below shows a basic example of an inset text.

inset text example

You can apply your own CSS styling.