I am using AddThis’ Photo Sharing Tool and I like it but I would like to customize it a bit and not sure how to do that.
AddThis says to put this code into your site:
<script type="text/javascript">
var addthis_config = {
services_overlay:'facebook,twitter,email,more'
}
</script>
<script type="text/javascript"
src="http://s7.addthis.com/js/300/addthis_widget.js"></script>
You can add services by adding their name. Then you add class="addthis_shareable" to the image itself and you are set to go. However I would like to customize AddThis a bit more and not sure how to do this.
I would like to:
- Reduce the size of the icons from 32×32 to 16×16.
- Change how quickly the items show when the image is hovered over.
- If possible show the icons for half a second before fading out to indicate they are there to the user.
Any help with the above would be greatly appreciated.
Here is a JSFiddle of the Code
Thanks!
To have more control over the buttons, you need to create them and configure using attributes which would drive the look and feel. You would add the buttons like so
The print menu might be appearing because of adding the “more” in the service configuration. If removing that doesn’t work, try setting the “services_exclude” in the config object to “print”