-1

我有一个网站,我使用 addthis sahring 图标代码来显示 scocial 共享图标。类似 Fb 的按钮在 mozilla 中没有出现,但在 chrome 和 safari 中运行良好。

我使用以下代码显示从 addthis 站点https://www.addthis.com/get/sharing?frm=hp#.UDrCVsHib-s获取的共享图标

   <div class="addthis_toolbox addthis_default_style ">
   <div id="fb-root"></div><a class="addthis_button_facebook_like"     fb:like:layout="button_count" ></a>
   <a class="addthis_button_tweet"   ></a>
   <a class="addthis_button_pinterest_pinit"  ></a>
   <a class="addthis_counter addthis_pill_style"  ></a>
  </div>
  <script type="text/javascript" src="http://s7.addthis.com/js/250/addthis_widget.js#pubid=xa-5022bfc615892c77"></script>
4

2 回答 2

0

转到 wp-content/plugins/facebook-like-box-responsive/facebook-like-responsive.css

例如http://blogs.tarungupta.info/wp-content/plugins/facebook-like-box-responsive/facebook-like-responsive.css

删除!重要

/* To fill the container and nothing else */
.fb_iframe_widget, .fb_iframe_widget span, .fb_iframe_widget span iframe {
  width: 100%;
}

/* To fill the container and nothing else */
.fb_iframe_widget, .fb_iframe_widget span, .fb_iframe_widget span iframe {
  width: 100% !important;
}
于 2014-05-08T15:13:42.603 回答
0

使用此代码在 Facebook 上共享,我已经使用了很多时间,每次我成功时,如果你愿意,可以更改顺序...

<span class='st_fblike_vcount'></span>
<span class='st_twitter_vcount'></span>
<span class='st_plusone_vcount'></span>
<span class='st_email_vcount'></span>
<span class='st_sharethis_vcount'></span>

<script type="text/javascript" src="http://w.sharethis.com/button/buttons.js"></script>
<script type="text/javascript">stLight.options({publisher: "782110c4-838d-408f-8393-98897995ced4"}); </script>
于 2012-08-31T10:19:51.753 回答