font

Specifies font options for the subtitle.

Type:

Object

Show Example:
jQuery

In this example, several font options of the subtitle text are changed.


                                    

                                    

color

Specifies font color for the subtitle.

Type:

String

Default Value: '#232323'

This option supports the following colors.

Show Example:
jQuery

In this example, the subtitle font color is changed to darkcyan.


                                    

                                    

family

Specifies a font family for the subtitle.

Type:

String

Default Value: ''Segoe UI Light', 'Helvetica Neue Light', 'Trebuchet MS', Verdana'

For details on acceptable values, refer to the Font family article.

Show Example:
jQuery

In this example, the font family of the subtitle text is changed.


                                    

                                    

opacity

Specifies font opacity for the subtitle.

Type:

Number

Default Value: undefined

size

Specifies a font size for the subtitle.

Type:

Number

|

String

Default Value: 16

For details on acceptable values, refer to the Font size article.

Show Example:
jQuery

In this example, the subtitle font size is changed to 12.


                                    

                                    

weight

Specifies the font weight for the subtitle. Accepts values from 100 to 900 in increments of 100. Higher values increase boldness.

Type:

Number

Default Value: 200

Show Example:
jQuery

In this example, the subtitle font weight is changed to 700.