Forums / General Questions / Centering my add this buttons

Centering my add this buttons

Views: 921

Results 1 to 4 of 4
16 Dec 2011, 5:38 PM
#1
mighty_midget avatar

mighty_midget

New Zenner

Join Date:
Sep 2011
Location:
UK
Posts:
72
Plugin Contributions:
0

Centering my add this buttons

Hi, i have just added a add this button part in my footer with the usual +1 this, share, like this etc.. but i cant get them centred, they are sitting to the left of the page. Can anyone help?

16 Dec 2011, 5:46 PM
#2
rescoccc avatar

rescoccc

Totally Zenned

Join Date:
May 2010
Location:
WA State
Posts:
1,700
Plugin Contributions:
2

Re: Centering my add this buttons

The down and dirty way would be to enclose them in <div align="center>your buttons</div> You could also create a div like SocialMedia and style it in your stylesheet.

The best way to learn is to try stuff. But, back it up first.

19 Dec 2011, 1:16 PM
#3
mighty_midget avatar

mighty_midget

New Zenner

Join Date:
Sep 2011
Location:
UK
Posts:
72
Plugin Contributions:
0

Re: Centering my add this buttons

Hi, I have tried every which way to center my buttons but cant seem to work it out.

This is the code i have

<!-- AddThis Button BEGIN --> <div class="addthis_toolbox addthis_default_style "> <a class="addthis_button_facebook_like" fb:like:layout="button_count"></a> <a class="addthis_button_tweet"></a> <a class="addthis_button_google_plusone" g: plusone:size="medium"></a> <a class="addthis_counter addthis_pill_style"></a></div> <script type="text/javascript" src="http://s7.addthis.com/js/250/addthis_widget.js#pubid=xa-4ede73607c96519c"></script> <!-- AddThis Button END -->

It just keeps sticking to the left. Here is my domain if you need to see what i mean. https://www.total-pleasure.co.uk

19 Dec 2011, 1:24 PM
#4
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Re: Centering my add this buttons

You could add something like this to your stylesheet:

.addthis_toolbox {margin-left: 18em;}