Add gradients to your image tags

Litmus Personalize blocks will be one solid color as standard. This page walks you through how to add gradients to your designs.

It is possible to add a gradient to your design to create a fade effect using two colors. Here's a personalized image example:

And another:

To add this effect, create your image and name the block you with to apply the gradient to in the 'Blocks' section in the template editor e.g.:

The gradient information is applied after the tag is created so you can select your font and size for the block but there's no need to add color styling to your block.

Create your tag and then apply the following syntax to the end of the tag:


Replace block name with the name of your block e.g.:


You can choose the colors you wish to use by adding the hex code.

Here's an example image tag:
Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.

Still need help? Contact Us Contact Us