【问题标题】:Facebook Box Count Like Button Vertical Alignment ChangeFacebook Box Count Like 按钮垂直对齐更改
【发布时间】:2016-08-11 20:28:15
【问题描述】:

我正在使用这种按钮。如何将此框计数值与 Facebook Like 标签的右侧对齐。喜欢下面的推特格式

我用的是下面的 HTML:

<div class="fb-like" data-href="https://developers.facebook.com/docs/plugins/" data-layout="box_count" data-action="like" data-size="large" data-show-faces="false" data-share="false"></div>

脚本:

<div id="fb-root"></div>
<script>(function(d, s, id) {
  var js, fjs = d.getElementsByTagName(s)[0];
  if (d.getElementById(id)) return;
  js = d.createElement(s); js.id = id;
  js.src = "//connect.facebook.net/en_GB/sdk.js#xfbml=1&version=v2.7";
  fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script>

【问题讨论】:

    标签: html css facebook alignment


    【解决方案1】:

    使用button_count 而不是box_count。所有可能的选项都可以在按钮生成器中选择:https://developers.facebook.com/docs/plugins/like-button

    【讨论】:

    • 这是不可能的,您只能使用按钮生成器中的选项,并且不允许以任何方式更改外观 - 使用选项除外。
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2020-07-23
    • 2013-09-27
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多