Forum Discussion

SHTELVIS's avatar
SHTELVIS
Frequent Visitor
2 years ago
Solved

Custom font for buttons text

Hi everyone ,   I'm trying to add a custom font to a button text  in a dashboard i tried this json file and works for most of the dasbdoard except for the text in the  button  :   {"name":"Custom...
  • Anonymous's avatar
    Anonymous
    2 years ago

    Hi, SHTELVIS 

     

    You can try this Json file.

    {
      "name": "AMX",
      
      "textClasses": {
        "label": {
          "fontFace": "AMX Black"
        },
        "header": {
          "fontFace": "AMX Black"
        },
        "callout": {
          "fontFace": "AMX BlackT"
        },
        "title": {
          "fontFace": "AMX Black"
        }
      },
      "visualStyles": {
        "*": {
          "*": {
            "border": [
              {
                "show": true
              }
            ],
            "outspacePane": [
              {
                "backgroundColor": {
                  "solid": {
                    "color": "#FFFFFF"
                  }
                }
              }
            ]
          }
        }
      }
    }

     

    Best Regards,
    Yang
    Community Support Team

     

    If there is any post helps, then please consider Accept it as the solution to help the other members find it more quickly.
    If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!

    How to get your questions answered quickly --  How to provide sample data in the Power BI Forum