Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I am trying to make the Home link in the breadcrumb an icon instead of text. I am doing the normal text-indent way of hiding the text, but for whatever reason the text will not disappear. I have moved the code around to different tags and still it will not hide the text. Any thoughts on what the issue would be and how to fix it?
my current code for the tag:
ol#crumbs li.crumb.crumb-first a {
text-indent: 100%;
overflow: hidden;
white-space: nowrap;
}
Comments
Comment #2
ryanfc78 CreditAttribution: ryanfc78 commentedComment #3
silvi.addweb CreditAttribution: silvi.addweb at AddWeb Solution Pvt. Ltd. commentedYou can hiding text using two ways:
1. Hiding the text using text-indent as following:
2. Hiding the text using font-size as following:
I hope this helps you.
Thanks!