# Cannot add local css

**URL:** <https://community.plotly.com/t/cannot-add-local-css/20999>\
**Category:** Dash Python\
**Created:** [March 16, 2019, 3:18pm UTC](https://community.plotly.com/t/cannot-add-local-css/20999 "2019-03-16T15:18:57Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![markus\_zhang](https://avatars.discourse-cdn.com/v4/letter/m/85f322/32.png) [@markus\_zhang](https://community.plotly.com/u/markus_zhang)\
**Post date:** [March 16, 2019, 3:18pm UTC](https://community.plotly.com/t/cannot-add-local-css/20999/1 "2019-03-16T15:18:57Z")

</div>

Hi experts,

I’m following the doc here:  
[https://dash.plot.ly/external-resources](https://dash.plot.ly/external-resources)

I put font-awesome.css in assets but it doesn’t work for me, at least this line doesn’t work:

```
    dcc.Tab(
        className="fas fa-bar-chart",
        label='Analysis'
)

```

I tried to dump everything from the font-awesome zip in the same folder but still doesn’t work. Thanks in advance.

**Edit**  
I’m pretty sure this doesn’t work. I have to use an external css to make it work. No idea why. But I cannot modify external css, which makes it useless.

---

<div class="post-metadata">

**Author:** ![nedned](https://sea2.discourse-cdn.com/flex024/user_avatar/community.plotly.com/nedned/32/8795_2.png) [@nedned](https://community.plotly.com/u/nedned)\
**Post date:** [March 18, 2019, 6:30am UTC](https://community.plotly.com/t/cannot-add-local-css/20999/2 "2019-03-18T06:30:48Z")

</div>

I’ve successfully manged to get Font Awesome working locally with Dash. Here: [https://github.com/ned2/slapdash/tree/master/src/slapdash/assets](https://github.com/ned2/slapdash/tree/master/src/slapdash/assets)
