但其他图标正常工作

但其他图标正常工作

本文介绍了FontAwesome twitch图标不显示,但其他图标正常工作的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的FontAwesome twitch图标未显示。之前它完全没有问题,现在它只是随机消失。



以下是我的html代码:

 < div class =text-center center-blockstyle =margin-top:-40px;>< br /> 
< h1>关注我们!< / h1>
< a href =http://facebook.com/facebook>< i class =fa fa-facebook-square fa-4x>< / i>< / a>
< a href =https://plus.google.com/u/google/>< i class =fa fa-google-plus-square fa-4x>< / I>< / A>
< a href =http://twitter.com/twitter>< i class =fa fa-twitter-square fa-4x>< / i>< / a>
< br />
< a href =http://steamcommunity.com/groups/steam>< i class =fa fa-steam-square fa-4x>< / i><一个>
< a href =http://youtube.com/youtube>< i class =fa fa-youtube-play fa-4x>< / i>< / a>
< a href =http://twitch.tv/twitch>< i class =fa fa-twitch fa-4x>< / i>< / a>
< / div>

我不明白它为什么会随机消失。我有最新的Font Awesome,并将它包含在我的标题中,如下所示:

 < link rel =stylesheethref = <?php echo bloginfo('template_directory');?> /font-awesome-4.2.0/css/font-awesome.min.css> 

所有其他图标都可以正常工作。顺便说一下,我仍然可以点击抽搐链接,但图标是不可见的。我也已经尝试清除我的缓存和其他浏览器。

解决方案

在Font Awesome页面的品牌图标部分, :

警告!



显然,Adblock Plus可以使用删除社交媒体按钮来删除Font Awesome品牌图标 设置。我们不会使用黑客来强制他们展示。如果您认为这是一个错误,请报告Adblock Plus的问题。要解决此问题,您需要修改社交图标类名称。


My FontAwesome twitch icon isn't showing. It was completely fine before and now it just randomly disappeared. I haven't changed anything.

Here is my html code:

        <div class="text-center center-block" style="margin-top:-40px;"><br/>
            <h1>Follow us!</h1>
            <a href="http://facebook.com/facebook"><i class="fa fa-facebook-square fa-4x"></i></a>
            <a href="https://plus.google.com/u/google/"><i class="fa fa-google-plus-square fa-4x"></i></a>
            <a href="http://twitter.com/twitter"><i class="fa fa-twitter-square fa-4x"></i></a>
        <br/>
            <a href="http://steamcommunity.com/groups/steam"><i class="fa fa-steam-square fa-4x"></i></a>
            <a href="http://youtube.com/youtube"><i class="fa fa-youtube-play fa-4x"></i></a>
            <a href="http://twitch.tv/twitch"><i class="fa fa-twitch fa-4x"></i></a>
        </div>

I don't understand why it randomly disappeared. I have the latest Font Awesome and have included it in my header like so:

<link rel="stylesheet" href="<?php echo bloginfo('template_directory'); ?>/font-awesome-4.2.0/css/font-awesome.min.css">

All the other icons work completely fine. I can by the way still click on the twitch link but the icon is invisible. I also already tried clearing my cache and another browser.

解决方案

On the Font Awesome page, in the Brand Icon's section, it says:

Warning!

Apparently, Adblock Plus can remove Font Awesome brand icons with their "Remove Social Media Buttons" setting. We will not use hacks to force them to display. Please report an issue with Adblock Plus if you believe this to be an error. To work around this, you'll need to modify the social icon class names.

这篇关于FontAwesome twitch图标不显示,但其他图标正常工作的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-02 14:07