Yellow links?

Eidolon Night - June 17, 2009 - 15:52
Project:Lootz Item Filter
Version:6.x-1.0
Component:User interface
Category:bug report
Priority:normal
Assigned:Unassigned
Status:active
Description

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

#1

professorbikeybike - June 18, 2009 - 02:31

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

#2

Eidolon Night - June 18, 2009 - 13:58

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?

#3

professorbikeybike - June 19, 2009 - 02:44

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.

 
 

Drupal is a registered trademark of Dries Buytaert.