After enabling this filter, all of the links in my RootCandy theme have turned yellow? Suggestions?

Comments

professorbikeybike’s picture

hmm. My guess is that the wowhead.css file is overzealous and defining some overarching link class. Odd that it only effects RootCandy.

eidolon night’s picture

After checking this out in Firebug it looks like the javascript is pulling in some css from aionarmory.com (the filter I recently put together) and parts of it are tagged !important. Could the javascipt be changed to only load on non-admin pages?

professorbikeybike’s picture

The JS could be changed to not load on certain pages, but if aionarmory.com is really pulling in CSS that overrides every a tag style, they'll have a tough time being adopted as a 3rd-party service, whether it's this module being used, or just somebody embedding their service in a site. A better long-term resolution would be for them to figure out what links they need to target with their CSS.

If they are unwilling to change their CSS, take a look at the section of the code where the js is added (drupal_set_html_head) iirc.