Drupal Sharing Customization
Custom Image Buttons
Use the following code as a template for using custom icons.
Custom icons
<div class="a2a_kit a2a_default_style"> <a class="a2a_button_facebook"> <img src="https://static.addtoany.com/buttons/custom/facebook-icon-long-shadow.png" border="0" alt="Facebook" width="27" height="27"> </a> <a class="a2a_dd" href="https://www.addtoany.com/share"> <img src="https://static.addtoany.com/buttons/custom/addtoany-icon-long-shadow.png" border="0" alt="Share" width="27" height="27"> </a> </div> <script async src="https://static.addtoany.com/menu/page.js"></script>
Add the following HTML code, for example, to the "Service Buttons HTML code" box in Drupal Configuration > Web services > AddToAny > Buttons > Service Buttons.
<a class="a2a_button_facebook"> <img src="https://static.addtoany.com/buttons/custom/facebook-icon-long-shadow.png" border="0" alt="Facebook" width="27" height="27"> </a> <a class="a2a_dd" href="https://www.addtoany.com/share"> <img src="https://static.addtoany.com/buttons/custom/addtoany-icon-long-shadow.png" border="0" alt="Share" width="27" height="27"> </a>
In WordPress, checkmark "Use custom icons" in Settings > AddToAny > Advanced Options, and specify the URL of the directory containing your custom icons, filename extension, and width & height.