I’m trying to make a multi page site with a dropdown menu to link to other pages. I used Codepen to do some of the CSS for my site.
If I want the dropdown to work, I have to put dbc.themes.BOOTSTRAP in my external stylesheets. (See below). When I do this is overrides alllllllllllll of the CSS I made on Codepen. I hate it. Is there anything I can do?
Thanks! That works, the only problem is that it over rides my DataTable CSS from codepen. It made my data table into an actual HTML table. Do you have any suggestions? Can I edit dbc.themes?
If you look at the source of dbc.themes you will find that BOOTSTRAP is defined as https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css. This is just the normal bootstrap CSS file.
So you can take the non-minified version of the bootstrap CSS, edit it and then include it in external_stylesheets. Or just override the table completely in your codepen css file.