Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
+2 votes
1.2k views
in Plugins by
Has anybody tried to solve the problem where the Facebook Login button causes Firefox and Chrome to resize the Facebook iframe several tiimes with every page load?

It does not cause a functional problem, but it is quite annoying.

This does not happen if you are logged in.
Q2A version: 1.5

1 Answer

+1 vote
by

This is happening because the Facebook log in button does some weird stuff while it's loading, creating a tall iframe. It can be solved by adding this to your CSS:

.fb-login-button.fb_iframe_widget.fb_hide_iframes span {display:none;}

Q2A 1.5.3 will automatically include this in the page CSS when appropriate.

by
I still have this problem in version 1.5.4.. I've also added this line of code to qa-theme.css (i'm using snow theme) but it's not working...
...