tildy
tildy

Reputation: 1009

Google plus share 'popup' css bug

I have tried to implement the google plus button into our site, but the popup bubble is really weird. enter image description here

I have used the following code:

<g:plusone annotation="none"></g:plusone>
<!-- Place this render call where appropriate -->
<script type="text/javascript">
  (function() {
    var po = document.createElement('script'); po.type = 'text/javascript'; po.async = true;
    po.src = 'https://apis.google.com/js/plusone.js';
    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(po, s);
  })();
</script>

We uses some table on our page , and it seems it resets the google plus button's css. ( I know, it's weird to use table as a part of the design, so we use them correctly and not for the layout! )

Because we need that css code, how can I redefine the css of the google+ share bubble?

It's so important, I have seen some details like .pls-topTail, .pls-vertShimLeft, .pls-contentLeft , but any correct documentation for this I haven't seen yet.

Upvotes: 0

Views: 536

Answers (2)

tildy
tildy

Reputation: 1009

Added a table:not(.gc-bubbleDefault) into the css everywhere where previously just a table was defined resolved the problem.

Upvotes: 1

rekire
rekire

Reputation: 47985

You could use Firebug to inspect the css of the "google" popup.

Upvotes: 1

Related Questions