Adjust button text tan and share facebook on page

1

I have in my page a script that inserts the Like and Share button and my site has a responsive characteristic and when being resized the text stays unadjusted on the page. The only thing I have is this script here:

I forgot to insert a div that I have before the script, it looks like this:

<div id="facebook"></div>

(function(d, s, id) {
      var js, fjs = d.getElementsByTagName(s)[0];
      if (d.getElementById(id)) return;
      js = d.createElement(s); js.id = id;
      js.src = "//connect.facebook.net/pt_BR/sdk.js#xfbml=1&version=v2.0";
      fjs.parentNode.insertBefore(js, fjs);
    }(document, 'script', 'facebook-jssdk'));

The example can be seen here when resizing the page, see: Page with the Like and Share buttons

    
asked by anonymous 06.03.2015 / 14:47

0 answers