Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Anonymous
Not applicable

Title font size in theme

Hi all,

 

I've created a custom theme in which I'm defining a font size for my visualisation titles.

 

"title": {
"fontSize": "9",
"fontFace": "Segoe UI Semibold",
"color": "#666666"

}

 

When I import this into PBI Desktop, the title font size is coming through as 10.5...

 

Any ideas?

1 ACCEPTED SOLUTION
Icey
Community Support
Community Support

Hi @Anonymous ,

Microsoft reply:

The "title" is a generalized textClass that is used differently across the product. Visuals use the "largeTitle" text class variant, which will increase the font size given by the "title" textClass by 7/6ths. 10.5 is exactly 7/6ths of 9, so this behavior is expected.

The Power BI Theme Documentation details this in a table listing the text classes: https://docs.microsoft.com/en-us/power-bi/desktop-report-themes#report-theme-json-file-format

If you need to directly only change properties the visual title (and not the other items that inherit from the "title" textClass), you can target the "largeTitle" textClass instead.

 

Best Regards,

Icey

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

4 REPLIES 4
Icey
Community Support
Community Support

Hi @Anonymous ,

Microsoft reply:

The "title" is a generalized textClass that is used differently across the product. Visuals use the "largeTitle" text class variant, which will increase the font size given by the "title" textClass by 7/6ths. 10.5 is exactly 7/6ths of 9, so this behavior is expected.

The Power BI Theme Documentation details this in a table listing the text classes: https://docs.microsoft.com/en-us/power-bi/desktop-report-themes#report-theme-json-file-format

If you need to directly only change properties the visual title (and not the other items that inherit from the "title" textClass), you can target the "largeTitle" textClass instead.

 

Best Regards,

Icey

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Anonymous
Not applicable

Thanks very much, I've made the changes and it's now behaving as expected.

What changes did yo make, if possible please share solution. Thanks

Icey
Community Support
Community Support

Hi @Anonymous ,

I have reported this issue internally and will update here once I get any information.

 

Best Regards,

Icey

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.