Hi, I’m following this guide to use an external stylesheet, but it doesn’t seem to have any effects. For example setting the background color or text color to red to see that it works, but nothing changes.
I have external_stylesheets = [ link to a css file on github... ] , and app = dash.Dash(__name__, external_stylesheets=external_stylesheets).
Not sure where could have gone wrong. Any suggestions are useful!
Are there any errors on the browser console? I suspect that it could be something related to the mime type, so perhaps setting type="text/css" explicitly in the external_stylesheets could fix this problem (if that’s actually the issue).
Warning: Each child in react-dom@16.v2_0_0m1637145051.14.0.js:82 a list should have a unique "key" prop. See https://fb.me/react-warning-keys for more information.
in th (created by s)
in tr (created by s)
etc...
And there are two warnings about
componentWillMount has been renamed, and is not recommended for use. See https://fb.me/react-unsafe-component-lifecycles for details.
and
componentWillReceiveProps has been renamed, and is not recommended for use. See https://fb.me/react-unsafe-component-lifecycles for details.
I can post more details about the warning if needed.