【问题标题】:prettyPhoto not showing facebook buttonprettyPhoto 没有显示 facebook 按钮
【发布时间】:2016-05-03 22:31:49
【问题描述】:

我有一个漂亮的照片问题; Twitter 按钮显示正常,但 Facebook 不会。有什么建议吗?

Check example here

这是社交按钮的漂亮照片代码部分:

social_tools: '<div class="twitter"><a href="http://twitter.com/share" class="twitter-share-button" data-count="none">Tweet</a><script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script></div><div class="facebook"><iframe src="http://www.facebook.com/plugins/like.php?locale=en_US&href={location_href}&amp;layout=button_count&amp;show_faces=true&amp;width=500&amp;action=like&amp;font&amp;colorscheme=light&amp;height=23" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:500px; height:23px;" allowTransparency="true"></iframe></div>' /* html or false to disable */
    }, pp_settings);

在 prettyPhoto.css 中

.pp_social{float:left;margin:0}
.pp_social .facebook{float:left;margin-left:5px;overflow:hidden;width:55px}
.pp_social .twitter{float:left}

【问题讨论】:

    标签: facebook-like prettyphoto


    【解决方案1】:

    我想猜测它确实在那里,但 twitter 图标覆盖了它。尝试将 facebook 类更向右移动,或将其向左对齐。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2012-06-16
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2012-12-17
      • 1970-01-01
      相关资源
      最近更新 更多