Kane Kane - 1 year ago 58
CSS Question

How to set padding/margin for Google +1 button in WordPress?


If you load the site and wait 3 seconds you'll see the attentionGrabber bar appear in the header. It has shortcodes to add the social buttons (FB, Twitter, G+1), but for some reason the Google +1 button is too high.

I've tried adding custom CSS to lower it by adding margin/padding to the top but that didn't make a difference.

Any ideas what CSS I can use to make it line up with the other social buttons?


Answer Source

The solution was to add:

#attentionGrabberWrap .plusoneBtn iframe{
   margin-bottom: -3px !important;

I got help from the plugin creator :)