我正在使用social buttons for twitter bootstrap 2。出於某種原因,按鈕中的Facebook「f」徽標未顯示出來。這是我的前端代碼:Bootstrap社交按鈕
{% include "meddy1/header.html" %}
{% load staticfiles %}
<link href="../../static/meddy1/css/social-buttons-3.css" rel="stylesheet">
<link href="../../../bootstrap-social-gh-pages/bootstrap-social.css" rel="stylesheet">
<link href="../../../font-awesome-4.2.0/css/font-awesome.css" rel="stylesheet">
<!-- CSS links -->
<link href="{% static "meddy1/css/login-signup.css" %}" rel="stylesheet" media="screen">
<link href="{% static "meddy1/css/login-signup-responsive.css" %}" rel="stylesheet" media="screen">
<!-- End CSS links -->
<div class="wrapper">
<div class="container">
<!-- Log In -->
<div class="login">
<h1> SIGN UP </h1>
{% if user.is_authenticated and not user.is_superuser %}
<h3>Hi {{ user.first_name }}. Thanks for loggin in!</h3>
{% else %}
<buttton class="btn btn-facebook"><a href="{% url 'social:begin' 'facebook' %}?next={{ index }}" class="fa fa-facebook"> | Signup with Facebook</a></buttton>
{% endif %}
<h4> OR </h4>
<form action="" method="post" id="user_uploader" enctype="multipart/form-data"> {% csrf_token %}
{% for field in form.visible_fields %}
{{ field.errors }}
{{ field.help_text }}
{{ field }}
{% endfor %}
<p class="alert">By Clicking 「Sign Up」 below, you are agreeing to the Meddy <a href="/terms">Terms of Service</a> and <a href="/privacy">Privacy Policy</a></p>
<button class="btn btn-primary" type="submit" name="submit" id="ss-submit">SIGN UP</button>
<form></form>
<button class="btn btn-facebook"><i class="fa fa-facebook"></i> | Connect with Facebook</button>
</div>
<!-- End Log In -->
</div>
</div>
<!-- End Content -->
</body>
</html>
{% include "meddy1/footer.html" %}
我是否缺少指向任何關鍵文件的鏈接?無法弄清楚爲什麼Facebook徽標沒有顯示出來。我的webapp在Django。
請發佈HTML輸出。還提供在線示例可能會有所幫助。 – 2014-09-10 16:20:54
這可以解釋一下,來自Font-Awesome網站警告! 顯然,Adblock Plus可以使用其「刪除社交媒體按鈕」設置刪除Font Awesome品牌圖標。我們不會使用黑客來強制他們展示。如果您認爲這是一個錯誤,請報告Adblock Plus的問題。要解決此問題,您需要修改社交圖標類名稱。嘗試使用不同的圖標來查看是否可能是問題 – Sparky 2014-09-10 17:10:59