This function executes the action of changing the color of a text on the preview.
It is used with dropdowns and swatch options.
It is used with dropdowns and swatch options.
To add a text color function
1. Go to the option you want to work with
2. Expand the Customily Functions panel and click Add Customily Function
3. Select the Function Type = Text Color
4. Enter the Personalizable Element ID to connect the text color function with a specific text element from the preview. This is the Unique ID of the text element that was created on your template.
2. Expand the Customily Functions panel and click Add Customily Function
3. Select the Function Type = Text Color
4. Enter the Personalizable Element ID to connect the text color function with a specific text element from the preview. This is the Unique ID of the text element that was created on your template.
Tip:
If you want to change colors of several text elements at the same time, you can assign multiple text color functions to the option. Just click again Add Customily Function to add another text color function, and link it to the extra text element you want to change.
5. Go to the options values and make sure they are connected with the correct color option of your text element.
Color position = color option of the text element on your template
By default, all color positions will start in 1, 2, 3... and so on. So if your values are in the same order of the color options you are good to go!
Color position = color option of the text element on your template
By default, all color positions will start in 1, 2, 3... and so on. So if your values are in the same order of the color options you are good to go!
Share
Was this article helpful?
Have more questions? Submit a request