Notice: These forums are now retired and closed. For active support, please Submit a Ticket or visit our official WordPress.org community pages.
Kadence Theme | Kadence Blocks | Starter Templates | WooCommerce Email Designer | Ascend | Virtue | Pinnacle

Virtue Icons not showing in Japanese

Home / Forums / Virtue Theme / Virtue Icons not showing in Japanese

This topic is: Resolved
[Resolved]
Posted in: Virtue Theme
September 6, 2017 at 3:41 am

Hi, again,

I have a multi-language site (Japanese and English). (I am using WPML)

On the Japanese side my virtue icon links and icons in general are broken.

To make the Japanese font match up in thickness and size for the kanji and roman characters I found that most browsers default kanji to Chinese unless you specify them as Japanese.

So to combat this I coded this into my CSS options:

:lang(ja) {
font-family: "Hiragino Sans", "Hiragino Kaku Gothic Std", "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro",Osaka, "メイリオ", Meiryo, "MS Pゴシック", "MS PGothic", sans-serif;
font-weight: 100;
}

However, I am assuming that this is fighting with the icon font.

How can I get the Japanese font families and this:

[class*=" icon-"], [class^=icon-] {
font-family: virtue_icons;
speak: none;
font-style: normal;
font-weight: 400;
font-variant: normal;
text-transform: none;
line-height: 1;
}

to play nicely.

Thanks for all the help.

  • The forum ‘Virtue Theme’ is closed to new topics and replies.