Image Personalization

How to style text in personalized images

Last updated

Each text layer in a personalized image has one font, size and color, set on the Customize tab. On top of that you can style just part of the text with inline effects, let long values shrink to fit their box, and rotate any layer.

A personalized image where "Hi Alex!" is followed by "Your trip starts soon" in bold yellow, tilted slightly, with the inline tags visible in the Full Text field

Style part of the text with inline effects

Wrap the words you want to change in a tag in the layer's Full Text (on the Settings tab). The link under Full Text opens the full list of effects.

EffectType thisNotes
Bold<b>Sale</b><strong> works too
Italic<i>new</i><em> works too
Underline<u>details</u>
Strikethrough<s>old price</s><strike> and <del> work too
Size<size=52>Big</size>Font size in pixels, from 1 to 500
Color<color=#FF0000>Red</color>3 or 6 hex digits, the # is optional
New line<br>Starts a new line
The Inline effects window listing Bold, Italic, Underline, Strikethrough, Size, Colour and Combined, each with an example tag

Some tips:

  • Tags can be combined and can wrap a variable, so the subscriber's name itself can be styled: <b><color=#32D74B>[first_name]</color></b>.
  • Tags aren't case-sensitive. A tag you don't close applies to the end of the text.
  • Tags only work in the text you type. If a subscriber's value contains something that looks like a tag, it's shown as plain text.
  • If a tag is typed incorrectly, the editor asks you to fix the Full Text tags before you can save.

Keep long values inside the box

Names, cities and product titles vary in length. On the Customize tab, turn on Shrink to fit. When a subscriber's text doesn't fit the layer's box, the font gets smaller until it does. Short text stays at your chosen Font Size, because Shrink to fit never makes text bigger. Text with inline effects shrinks evenly, so the parts keep their sizes relative to each other.

Without Shrink to fit, text wraps onto new lines inside the box, and very long text can spill outside it. To swap very long values for a fallback instead, see how to use fallback conditions and filter words in personalized images.

The Customize tab of Layer properties with Shrink to fit turned on and Rotation set to 354 degrees

Make the box the size you want the text area to be, then test with your longest realistic value as the Design Value.

Rotate a layer

Text and image layers can be rotated:

  • Drag the round handle above the selected layer on the canvas, or
  • Type an angle from 0 to 359 in Rotation under Position & Size on the Customize tab. For a slight tilt to the left, use an angle just under 360, like 354.

The layer rotates around its center, together with its background box if it has one.

Related

Was this article helpful?

Click the image to zoom in. Drag or scroll to look around.