How can I change the font in XVM text fields using HTML?

You can use any attributes for the font tag:

  • color – specifies text color
  • face – specifies font
  • size – specifies text size

Usage example:

<font color='#666' face='Consolas' size='10'>{{rating}}</font>

In this example, the general win rate  of the player is colored in grey (#666 is a color number in RGB) and written in the “Consolas” font at size 10.

Posted in: Common Questions