Too big space between AddThis buttons

arszenik Apr 11, 2012 09:59AM EDT

I've got a problem with the smallest version of buttons style. There're too big gaps between icons. This is this version:

<!-- AddThis Button BEGIN -->
<div class="addthis_toolbox addthis_default_style addthis_16x16_style">
<a class="addthis_button_preferred_1"></a>
<a class="addthis_button_preferred_2"></a>
<a class="addthis_button_preferred_3"></a>
<a class="addthis_button_preferred_4"></a>
<a class="addthis_button_compact"></a>
<a class="addthis_counter addthis_bubble_style"></a>
</div>
<script type="text/javascript" src="http://s7.addthis.com/js/250/addthis_widget.js#pubid=ra-4db6d7721a8351d5"></script>
<!-- AddThis Button END -->

I tried to customize it with CSS classes like:

.addthis_toolbox .addthis_default_style {
margin:0,0,0,0;
padding:0,0,0,0;
}

And I was playing with those values, also I was playing with "width" value under CSS but nothing seems to improve the look and nothing decreases the space between icons. What class and value should I customize under CSS to make it look properly?

4 Community Answers

Paul Apr 27, 2012 03:28PM EDT

There's a conflict in your CSS. You're setting the text-indent for items in your sidebar to 16px which is bumping all of those over: http://i.imgur.com/s8CIq.png Remove or edit that CSS rule and it will fix the problem.

If you see this in the future first try using Chrome or Safari's Web Inspector or Firebug in Firefox to see the CSS rules that are being applied to the buttons.

View in conversation


Up 1 Rated Down
Paul (AddThis Happiness Specialist) Apr 11, 2012 12:16PM EDT
I'd love to help but first I'll need the URL of the page where you're seeing the problem.
Up 0 Rated Down
arszenik Apr 11, 2012 01:34PM EDT
OK Paul, here we go: http://carpedentumblog.blogspot.com/ (it's blog ofc.)
Up 0 Rated Down
twtinteractive Apr 27, 2012 03:28PM EDT
I got the same problem, and also others got the same problem.
Link: http://www.pronovabkk.de/krankenkassen-wechsel/mitglied-werden
Up 0 Rated Down
Paul (AddThis Happiness Specialist) Best Answer Apr 27, 2012 03:28PM EDT
There's a conflict in your CSS. You're setting the text-indent for items in your sidebar to 16px which is bumping all of those over: http://i.imgur.com/s8CIq.png Remove or edit that CSS rule and it will fix the problem.

If you see this in the future first try using Chrome or Safari's Web Inspector or Firebug in Firefox to see the CSS rules that are being applied to the buttons.

This question is closed to new answers.

Still need help?


General Topics

 

Developers