Zingtree makes it easy to create custom-colored buttons, that can also use stock icons.
Customizing button styles is done by prefixing the button text with special classes. To choose a color, use one of these prefixes:
Here's how to customize a button color
- From the editor, open the tree and node that you want to add custom buttons to.
- Under Question and Action Buttons click Add Action Button.
- Edit the button text, and prefix it with one of the color options above. For example, to make a red button that says "Stop", enter this:
Adding Icons to Buttons
In addition to colors, we've provided some icon styles you can easily add:
You can also combine colors and icons together. So entering this makes a green yes button.