CSS is not being served by dash

I’m having trouble getting my CSS to work.
I have stored the stylesheet in the assets folder. But the web page is not loading CSS.
I also checked the network tab in dev tools and there is no request for CSS.
Can anyone pls help in solving the problem…

Hi @Dev2 and welcome to the community!

Can you confirm if your app is structured in the below fashion as documented here - Adding CSS & JS and Overriding the Page-Load Template | Dash for Python Documentation | Plotly ?

- app.py
- assets/
    |-- typography.css
    |-- header.css
    |-- custom-script.js

yes

@Dev2
Looks like you have misspelled assets :slight_smile:

4 Likes

:expressionless:
thank you

2 Likes

Yeah, I’ve done that too :upside_down_face:

2 Likes