Closed (fixed)
Project:
Follow
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
1 Dec 2009 at 18:15 UTC
Updated:
23 Nov 2012 at 06:43 UTC
I was wondering if there is any way to display the icons only (without the accompanying text such as "Twitter" or "LinkedIn"). It's not possible through CSS because the icon and text are inside the same div.
Thanks.
Comments
Comment #1
q0rban commentedActually it is possible via CSS, since the icons are added via CSS. Please see this comment: http://drupal.org/node/640084#comment-2295176
:)
Comment #2
zdean commentedwould you mind explaining how to do it...the only thing I can think of is to make
a.follow-link {
display: none;
}
However, this makes the text and the icon disappear. I only want the text to go away.
Thanks for your help.
Comment #3
q0rban commentedDid you read the comment I linked to? ;)
Comment #4
zdean commentedSorry, I missed the "text-indent" earlier, but I would worry that this might have a negative impact on SEO...kind of like hiding keywords by making them the same color as the background. It seems like a cleaner approach would be to make 2 separate divs.
Thanks.
Comment #5
q0rban commentedNo, this is the preferred text replacement method, and is SEO friendly. (Search engines don't care if the text is indented or not)
Comment #6
zdean commentedthank you.
Comment #8
beautifulmindThe complete CSS rule to display icons only: