# Font in Graph from CSS

**URL:** <https://community.plotly.com/t/font-in-graph-from-css/54825>\
**Category:** Dash Python\
**Created:** [July 18, 2021, 1:12am UTC](https://community.plotly.com/t/font-in-graph-from-css/54825 "2021-07-18T01:12:22Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![sloth2005](https://avatars.discourse-cdn.com/v4/letter/s/7ea924/32.png) [@sloth2005](https://community.plotly.com/u/sloth2005)\
**Post date:** [July 18, 2021, 1:12am UTC](https://community.plotly.com/t/font-in-graph-from-css/54825/1 "2021-07-18T01:12:22Z")

</div>

Hello,  
I am trying to build a dashboard and customizing the font family with a CSS file. I am able to get the fonts correct for the H1, H2, etc. items, but for the graph titles and axes themselves.

This is what I’m using in my CSS file:

\*, html, body {  
font-family: “Times New Roman”, Times, serif;  
}

Is there a way to set the those through a CSS file, or do I have to manually do it through the graph layout?
