How to center the ShareThis Buttons?


#1

How do I center the ShareThis buttons? I want the ShareThis buttons to be center with my blog posts. I ask the support from ShareThis but they were no help. Here is my website: (http://averagekpoppermideko.blogspot.com/)

Here is the code:

<span id="st_finder"></span><script type="text/javascript" src="http://w.sharethis.com/widget/stblogger2.js"></script><script type="text/javascript">var switchTo5x= true;stBlogger2.init("http://w.sharethis.com/button/buttons.js",{"facebook":["large","Facebook",""],"twitter":["large","Tweet",""],"googleplus":["large","Google ",""]}, "47e9b293-4e3f-4534-a83e-b14cbcd53d95");var f = document.getElementById("st_finder");var c = f.parentNode.parentNode.childNodes;for (i=0;i<c.length;i++) { try { c[i].style.display = "none"; } catch(err) {}}</script>


#2

Try This Code -

<center><span id="st_finder"></span><script type="text/javascript" src="http://w.sharethis.com/widget/stblogger2.js"></script><script type="text/javascript">var switchTo5x= true;stBlogger2.init("http://w.sharethis.com/button/buttons.js",{"facebook":["large","Facebook",""],"twitter":["large","Tweet",""],"googleplus":["large","Google ",""]}, "47e9b293-4e3f-4534-a83e-b14cbcd53d95");var f = document.getElementById("st_finder");var c = f.parentNode.parentNode.childNodes;for (i=0;i<c.length;i++) { try { c[i].style.display = "none"; } catch(err) {}}</script></center>

Tell Me If It Works Or Not ? :smiley:


#3

It did not work out. There must be something with ShareThis codes or something else.


#4

I Think This Is Happening Because Of Setting In ShareThis Dashboard , So To Solve This go to sharethis and then change the settings according to you :smiley:


#5

Where would it be located at? I couldn’t find it.


#6

BTW, Does my header and navigation menu look center or not?