• Resolved Chrisngc

    (@chrisngc)


    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

Viewing 2 replies - 1 through 2 (of 2 total)
  • hi,
    it’s a bug. i will fix it.
    you have to edit content.php file, and replace:

    <span class="icon-font icon-tag-alt"></span>

    with

    <span class="icon-font icon-bookmark-alt"></span>

    Thread Starter Chrisngc

    (@chrisngc)

    Hi Fabio,

    Thank you very much for the quick fix! Everything works perfectly (besides the Accent Color of the icon in front of the list of tags, but that’s an easy fix anyway)!

    Best wishes to you,

    Christian

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Missing icon in front of tags list’ is closed to new replies.