Right now by default, the stylesheets are added in this order:

  1. blogbuzz.css
  2. custom.css
  3. -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?

CommentFileSizeAuthor
#1 template.php-1091342.patch868 bytessokrplare
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

sokrplare’s picture

FileSize
868 bytes

Patch attached.