Closed (fixed)
Project:
Fasttoggle
Version:
5.x-1.1
Component:
User interface
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
28 Oct 2008 at 02:22 UTC
Updated:
26 Mar 2014 at 06:16 UTC
Jump to comment: Most recent
Comments
Comment #1
nige commentedI don't think you can replace the text of a link with plain icons using css. What you can do is to define an icon to show up before a linked text (or anything else linked) or afterwards. IE6 doesn't support that, but there is a good and small workaround for that.
For other solutions you have to code PHP.
Comment #2
kkaefer commentedTechnically, it is possible to “hide” the text of a link, e.g. by using
text-indent:-9999px;. However, fasttoggle currently doesn’t allow to add classes so that you can target the link in an IE6-compatible way. You can still write selectors for the current versions by using things likea[href^='/node/1234/toggle/sticky].Comment #3
aharown07 commentedOK, thanks.
A bit of php hacking isn't out of the question. Is it possible to override fastoggle functions in template.php?
(I only half know what that means, but I'm getting there)
Comment #4
kkaefer commentedAdded class names (version in CVS).