最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

javascript - Is there a way to changecustomize images on AddThis scriptwidget? - Stack Overflow

programmeradmin1浏览0评论

So we're using the script from this site to share stuff on our site.

However, we like to change the icons/buttons that it uses as a default. Is there a way to change them?

So we're using the script from this site to share stuff on our site.

However, we like to change the icons/buttons that it uses as a default. Is there a way to change them?

Share Improve this question edited May 31, 2022 at 9:28 VLAZ 29.1k9 gold badges63 silver badges84 bronze badges asked Mar 22, 2011 at 7:46 catandmousecatandmouse 11.8k24 gold badges95 silver badges157 bronze badges
Add a ment  | 

2 Answers 2

Reset to default 3

Yes, you can change your toolbox and use the icons you want.

Check the "Custom Images" section of this page.

See: http://support.addthis./customer/portal/questions/1521845-why-do-my-icons-change-randomly-

These are different for each individual based on their past sharing history and what services are most popular in our service...

Instead of using addthis_button_preferred_1, addthis_button_preferred_2, ... its better to use the following which clearly states what service each image maps to:

<div class="addthis_toolbox addthis_default_style">
  <a class="addthis_button_email">
      <img src="<URL>/email-share.png" width="80" border="0" alt="Share" />
    </a>
  <a class="addthis_button_facebook">
      <img src="<URL>/fb-share.png" width="80" border="0" alt="Share" />
    </a>
  <a class="addthis_button_google_plusone_share">
      <img src="<URL>/googleplus-share.png" width="80" border="0" alt="Share" />
    </a>
  <a class="addthis_button_linkedin">
      <img src="<URL>/linkedin-share.png" width="80" border="0" alt="Share" />
    </a>
  <a class="addthis_button_twitter">
      <img src="<URL>/twitter-share.png" width="80" border="0" alt="Share" />
    </a>
  <a class="addthis_button_pact">
      <img src="<URL>/addthis-share.png" width="80" border="0" alt="Share" />
    </a>
</div>

Replace the URL part according to your needs.

发布评论

评论列表(0)

  1. 暂无评论