Hi, I have looked at previous topics on how to create custom css files and reset the background to white but nothing works. I did external_stylesheets=[dbc.themes.FLATLY], testing different themes but all throughout the background of the main screen stayed gray. Nothing I tried has worked. How do I reset the background to white? please help
Just create an assets folder within the root directory, create a style.css within the assets folder then add the code:
body {
background-color: white !important
}
If that doesnt look, use the chrome inspector to understand where the color change is comings from.
Thank you so much!!! That helped set it right away
Turns out when I was practicing on dash I had an assets override