Missing icon in front of tags list
-
Hi,
I’m probably misunderstanding something, but it seems to me that the content.php file uses icon-tag-alt in front of the tags list (lines 87 and 88):
<span class="icon-font icon-tag-alt"></span> <?php printf( __( '%1$s', 'thebox' ), $tags_list ); ?>
But it seems that icon-tag-alt is not defined in the fonts/icons-font.css file, whereas icon-tag (“W”, glyph index GID=49) and icon-tags (“X”, GID=50) are indeed defined in the fonts/icons-font.css file. Maybe that’s the reason why I don’t see any tag-like icon in front of the list of tags (see e.g. the Theme Preview and the Live Demo at design.altervista.org).
So I put the following code in the style.css file of my child theme, so that an icon appears there:
.icon-tag-alt:before { content: "W"; }
But there’s probably another (unrelated?) glitch: the icon that now appears in front of the tags list is not displayed in the user-defined Accent Color but in the default color. If one defines an Accent Color that’s not the default one, there’s a discrepancy. It’s possible to patch this with the following code in the style.css file of the child theme (replacing #191970 with the actual Accent Color choosen by the user):
.tag-meta .icon-font { color: #191970; }
but it’s not very clean, of course… Maybe the trouble comes from the absence of
.tag-meta .icon-font
in the inc/customizer.php file of the The Box theme, but that’s waaay beyond my ability to say.Many thanks in advance! Best,
Christian
- The topic ‘Missing icon in front of tags list’ is closed to new replies.