隐藏添加此共享工具默认图标

hide add this sharing tool default icons

本文关键字:默认 图标 工具 共享 添加 隐藏      更新时间:2023-09-26

有谁知道我如何隐藏添加此 (addthis.com) 共享小部件默认用来替换为我自己的图标的明确图标?

我使用的代码如下,添加此小部件带来了图标,但我想使用我的main_icons.gif。提前谢谢。

<style type="text/css">
.share strong { line-height:17px; }
.share strong, .share a { float:left; display:inline; font-weight:normal; }
.share a { width:17px; height:17px; background:transparent url(main_icons.gif) no-repeat 0px -1772px; margin-left:7px; text-indent:-9999px; }
.share a.btn_twitter { background-position:-24px -1772px; }
.share a.btn_share { background-position:-47px -1772px; }
</style>
<div class="share addthis_toolbox addthis_default_style">
<strong>Share this:</strong>
<a class="addthis_button_facebook" href="">Share with Facebook</a>
<a class="btn_twitter addthis_button_twitter" href="">Share with Twitter</a>
    <a class="btn_share addthis_button_compact" href="">Share</a>
</div>
<script type="text/javascript">
var addthis_config = {
    "data_track_addressbar":true,
    "services_exclude":'facebook,twitter',
}
</script>
<script type="text/javascript" src="http://s7.addthis.com/js/250/addthis_widget.js#pubid=myusername"></script>
好的,

我在这里找到了答案:http://support.addthis.com/customer/portal/articles/381236-custom-buttons#.T-zBZ_VRL90

只是一个带有自定义图像 src 的图像标签,你是一个标签......例如

<a class="addthis_button" href="http://www.addthis.com/bookmark.php"><img src="customButton.gif" width="16" height="16" border="0" alt="Share" /></a>