Change buttons

jorisp May 23, 2012 09:34AM EDT

Hi,

Just installing addthis on HTML website... When grabing the code, the left part of the page just shows what I wish to obtain (facebook, Etc.), however the code / rendering includes different buttons (Messenger, Viadeo, Etc.) which I do not want to have.

The code is just preferred 1 Etc. i don;t know how to change. I have this article but it didn;t help:

http://support.addthis.com/customer/portal/articles/381263-addthis-client-api-#rendering-preferred-services


<!-- AddThis Button BEGIN -->
<div class="addthis_toolbox addthis_default_style addthis_32x32_style">
<a class="addthis_button_preferred_1"></a>
<a class="addthis_button_preferred_2"></a>
<a class="addthis_button_preferred_3"></a>
<a class="addthis_button_preferred_4"></a>
<a class="addthis_button_compact"></a>
<a class="addthis_counter addthis_bubble_style"></a>
</div>
<script type="text/javascript">var addthis_config = {"data_track_addressbar":true};</script>
<script type="text/javascript" src="http://s7.addthis.com/js/250/addthis_widget.js#pubid=ra-4facc88d029b64fa"></script>
<!-- AddThis Button END -->

Up -1 Rated Down
Paul (AddThis Happiness Specialist) May 23, 2012 11:55AM EDT
In order to change the preferred services you have to replace the preferred_1 with the service code you'd like to use. For instance, if you'd like to replace the first button with a Facebook button you'd change this:

<a class="addthis_button_preferred_1"></a>

to this:

<a class="addthis_button_facebook"></a>

The service code is "facebook" in this instance. A full list of our service codes are available here: http://www.addthis.com/services/list

This question is closed to new answers.

Still need help?


General Topics

 

Developers