Dual Color Text
Create a single heading or text line with two independently styled parts. Use it when a phrase needs two colors, weights, or backgrounds without splitting it into separate heading elements.
Setup and First Use
Before starting, enable the relevant element or feature family under Bricks → BricksUltimate → General Elements, save, and reopen the Bricks editor. Integrations also require their corresponding plugin to be active.
- Add (BU)Dual Color Text and choose the semantic Tag, such as h2 for a section heading.
- Enter the text in First Text and Second Text.
- Style each part's typography, background, padding, and margin.
- Set the optional Link to destination if the entire phrase should be a link.
- Configure the optional separator and its dimensions, spacing, alignment, style, and color.
- Check wrapping at mobile widths and with the longest translated wording.
Controls and Settings
| Control | Purpose and usage |
|---|---|
| Tag | Choose the heading or text tag based on document structure, not its default font size. |
| First Text / Second Text | Two distinct text values form the phrase. Keep any necessary word separation visible in the actual output. |
| Typography and backgrounds | Set each part separately for contrast, weight, font, and emphasis. |
| Margin / Padding | Use spacing to separate parts or create a restrained highlight; excessive spacing can break the phrase across lines. |
| Link to | Adds a destination for the combined content. Do not put a second interactive control inside the link. |
| Separator | An optional decorative separator with width, height, spacing, style, alignment, and color. |
Heading Semantics and Translation
The element should still read as one meaningful phrase. Maintain heading hierarchy and do not use color alone to communicate a status. If dynamic text is supplied through available dynamic controls, preview several records and allow it to wrap rather than imposing a fixed width.
Choose the Right Text Element
Use Dual Color Text for independent styling of two parts. Use Highlighted Heading when the requirement is a drawn shape or underline around a word. This element does not rotate words or create a timed text animation.
Practical Example
Create the section heading Our Services with Our in normal weight and Services in the accent color. Keep both parts the same readable size and test the complete heading on a narrow screen.
Troubleshooting
- Text looks joined: review the actual values and inter-part spacing.
- Unexpected line break: reduce padding/margins and allow natural wrapping.
- Wrong heading level: change Tag, then style its visual size independently.