+9 votes
2.5k views
in Home by (2.0k points)

How to change the ShareThis icon on your site

1 Answer

+10 votes
by (18.3k points)
Sharethis is a small utility or widget that allows us to share the content of a site in different ways, either by post, send to twitter, share on facebook, etc. 
 
Sometimes we need to change the icon to go according to our design, and to do this perform the following steps. 
 
.stico_default 
{
background: transparent url (http://www.nuestrositio.com/tu_icono.png) 
no-repeat scroll 0px 0px! important; 
 
As we see it is as simple as rewriting .stico_default class and set the background to the image you wish to display. 
 
If you want to use a title or change the default one is "ShareThis" that we change the javascript variable that we include for the application to work. 
 
<script type = "text / javascript" 
Share & buttonText = + Content & charset = utf-8 & style = default 
& publisher = "'Publisher_ID_Here"' "> 
</ script> 
Ask a Question
Welcome to WikiTechSolutions where you can ask questions and receive answers from other members of the community.

You can ask a question without registration.

Categories

...