Open pepies opened 5 years ago
You can override those styles if you use !important
, however I see how the custom css not being on top could be considered a bug.
You can override those styles if you use
!important
, however I see how the custom css not being on top could be considered a bug.
Hello, thank for your answer. !important is working but not valid solution. Please see flarum community link in post or directly here: https://developer.mozilla.org/en-US/docs/Web/CSS/Specificity
Bug Report
Current Behavior https://discuss.flarum.org/d/18380-issue-custom-css-not-overridnig-extension-s-css
Steps to Reproduce 1) Add customCSS overrding Extension one. 2) Viola, its not overrding
Expected Behavior It should
Screenshots There is compiled styles file download
Environment
Possible Solution In
ForumServiceProvider.php
methor register () change lines from 85 to these:2) Change content Sourcecollector.php class from Frontend dir to: