Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Right now by default, the stylesheets are added in this order:
- blogbuzz.css
- custom.css
- -chosen style-.css
This has the unfortunate effect that custom.css can't override anything set in -chosen style-.css (since -chosen style-.css is read in last).
A quick fix was to add "weight => -1" to blogbuzz_preprocess_html for the -chosen style-.css drupal_add_css call. However, that bumps it above blogbuzz.css too so maybe not ideal? I'll attach a patch file anyway just so you can see exactly what I did.
There must be a better solution?
Comment | File | Size | Author |
---|---|---|---|
#1 | template.php-1091342.patch | 868 bytes | sokrplare |
Comments
Comment #1
sokrplare CreditAttribution: sokrplare commentedPatch attached.