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
@Dev2
Looks like you have misspelled assets
4 Likes
thank you
2 Likes
Yeah, I’ve done that too
2 Likes