New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CSS overrides not working #2330
Comments
did you check css cache? ( if using css file) |
Yes. This is off a fresh start of server. I've also cleared cache as well. |
if this means that restarting of server, it will sometimes fail clear cache. if so try super reload. (Ctrl + Shift + r) (I tried same c3 version and d3 but window7, it worked.) |
C3 version: c3-0.5.1 Some CSS overrides are working for me, for example this works: |
No, I mean clearing the browser cache, for all time. |
I seem to have the same problem. Any solution found? |
You have to include your custom css file after including c3.min.css For instance:
|
Well that's pretty obvious isn't it? It's still broken though... |
This is probably more of a precedence issue between CSS rules than an issue with C3JS which is difficult to help with when no reproduction case is given. |
I would reopen this issue: I can replicate something similar with C3 0.7.20. In particular, I'm trying to apply I have to force it via Is it how it's intended? |
From my research, I see that I should be able to override CSS attributes of parts of C3 graphs by using the right class names. Though I can't find a guide of all c3 CSS classes that can be overrided, I've found the following examples that don't seem to actually override:
labels: true
attribute) color usingNone of these things are working, even with the
!important
attribute set on the css class. Is this still supported?The text was updated successfully, but these errors were encountered: