Skip to main content

The Floating Text component is designed to overlay text content on top of other elements, creating a prominent and engaging display. Authors can customize various aspects of this component, including the alignment of the box (left, center, right), text alignment, the width of the text box, and the margins above and below the box. These adjustments allow for flexible positioning and styling to fit seamlessly into any webpage layout, ensuring the text stands out effectively against the background content.

This is a Pre Heading

This is a Heading

Lorem ipsum odor amet, consectetuer adipiscing elit. Fringilla id primis ridiculus ante tortor mollis. Aptent montes etiam maximus dapibus sit mi nostra. Platea eget class iaculis sociosqu in maecenas sodales. Quis arcu varius facilisis accumsan vulputate libero tortor netus? Diam fames sem orci varius vel est ornare enim. Maecenas scelerisque placerat nostra eleifend maecenas hac non mattis.

This is a CTA

Content Options

This is a Pre Heading

This is a Heading

This is some Text Content

Layout and Styling Options

Align Text Box

Align Text Box

Left

Align Text Box

Center

Align Text Box

Right

Text Box Width

Text Box Width

Narrow

Lorem ipsum odor amet, consectetuer adipiscing elit. Fringilla id primis ridiculus ante tortor mollis. Aptent montes etiam maximus dapibus sit mi nostra.

Text Box Width

Wide

Lorem ipsum odor amet, consectetuer adipiscing elit. Fringilla id primis ridiculus ante tortor mollis. Aptent montes etiam maximus dapibus sit mi nostra.

Text Alignment

Centered Heading Text

Uncentered CTA

Uncentered Heading Text

Centered CTA

Bottom Margin

Bottom Margin

None

Bottom Margin

X-Small

Bottom Margin

Small

Bottom Margin

Medium

Bottom Margin

Large

Bottom Margin

X-Large

the end

Top Margin

Top Margin

None

Top Margin

X-Small

Top Margin

Small

Top Margin

Medium

Top Margin

Large

Top Margin

X-Large

the end

Usage

Do

  • Ensure the text box is aligned appropriately to complement the surrounding content.
  • Check the text alignment within the box for readability and visual appeal.
  • Adjust the box width to avoid overcrowding the text or leaving too much empty space.
  • Preview the component on different devices to ensure responsive design.
  • Maintain a consistent style with the rest of your webpage for a cohesive look.

Don't

  • Avoid using the Floating Text component for large blocks of text.
  • Refrain from placing the text box in areas that obscure important content or images.
  • Don’t use overly bright or clashing colors that make the text hard to read.
  • Avoid using low contrast between text and background colors.
  • Refrain from using the component excessively on a single page, which can overwhelm the viewer.