Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
I am trying to figure out how to get rid of the text links that get printed in the block since I am using icons instead. However, when I remove the string that is printing the text the text is also removed from the follow configuration page. This makes it impossible for anyone to add their links accurately since there is no descriptive text. This could be super easy but Im not seeing a solution atm.
Thanks.
Comments
Comment #1
q0rban CreditAttribution: q0rban commentedHi! Yes, this is pretty simple to do with CSS. Here are some examples:
I've added these examples to the README.txt now as well. Thanks!
Comment #2
Anonymous (not verified) CreditAttribution: Anonymous commentedThis does not remove the text from the follow block. Still shows up. Not fixed.
Comment #3
q0rban CreditAttribution: q0rban commentedOk, you'll need to give me a little more information on how to replicate what you're seeing.
Comment #4
Anonymous (not verified) CreditAttribution: Anonymous commentedIf I do not remove the strings, YouTube, Facebook, Twitter etc then they get printed in the block over the icons and the CSS in #1 does nothing to change that. All caches including browser cache flushed numerous times. No effect on text being printed. So I basically just remove the strings using string overrides. However like previously stated this method causes the problem in the follow configuration page of there being no descriptive text for users to know which fields to ad their url's to for accurate sync to the icons in the follow block.
Is that enough information? Please let me know what else you might need to know. If we can sync up live (IRC, etc) I can add the strings and give you a link to the site so you can see for yourself.
Thanks
Comment #5
q0rban CreditAttribution: q0rban commentedOK, that clarifies for me, thanks. If the above CSS doesn't work than that means it's either not getting loaded, or it's getting loaded before the follow.css file.
Comment #6
Anonymous (not verified) CreditAttribution: Anonymous commentedHi q0rban,
To clarify, the added CSS in #1 was placed at the bottom of local.css and is in fact affecting the margin padding etc, however it is not causing the text to be invisible. I am using the magazeen theme if that makes any difference. And I'm on IRC if that may be easier for you.
Thanks
Comment #7
ltgomes CreditAttribution: ltgomes commentedI am trying to put the name instead the icon of sites, but I only see the icons.
How I can show the name instead the icons?
Thanks
Comment #8
naught101 CreditAttribution: naught101 commentedalso works. But it'd probably be better to have an option in the edit page to select either "text and icons", "icons only", or "text only". That would probably make it easier to use different icon themes too (different sized ones)
Comment #9
bradallenfisher CreditAttribution: bradallenfisher commentedThis will remove the link text for Drupal 7. Put this in your template.php.
Comment #10
AstonVictor CreditAttribution: AstonVictor as a volunteer and at DevBranch commentedI'm closing it because the issue was created a long time ago without any further steps.
if you still need it then raise a new one.
thanks