ShareThis Forums » Publishers

How can you customize the ShareThis link?

(4 posts)
  • Started 7 months ago by jobokoth
  • Latest reply from ShareThisSupport

  1. jobokoth
    Member

    Hi

    In the basic section of 'ShareThis Button for other websites', once you get the code, how can you increase the font size of the ShareThis link and/or change its color? My website's background is blue and as such the default blue color of the link is not very visible?

    Regards

    Job

    Posted 7 months ago #
  2. Hi Job,

    You can change the button link text with the following CSS block.

    .stbuttontext{

    color:(desired color);

    }

    Posted 7 months ago #
  3. Thanks for the response, but where do we put that code? I'm using the button on my website so the code is <script type="text/javascript" ...</script> Do I put the CSS block before, after or inside the button code?

    Also, can you answer jobokoth's first question about editing the font (size and typeface)?

    Thanks

    Posted 3 months ago #
  4. You can place the CSS block at the bottom of your main style sheet. Or inline if you wish. This code does not go into the JavaScript obtained from our site. And to increase the font size you can use the "font-size" CSS attribute.

    .stbuttontext{
    color:colorname;
    font-size:size;
    }

    Posted 3 months ago #

RSS feed for this topic

Reply

You must log in to post.