Apr 09 2012

Still Have The Strange Frames? (Corrected Display Version)

Category: WordPressChrisM @ 9:19 am

So far there is no sign of an updated ShareThis plugin for WordPress, meaning that if you have not yet disabled the facebook like option, you will probably still have two transparent frames at the top of your blog (see the Strange Boxes On Your Site post). If you prefer, the ShareThis forum users have provided a couple of other options,
1st is taken from here
(oh, before I forget, to use either of these bits of code, change any {{ or }} you see to [ or ] respectively. Even using the code tag in WordPress, the info wasn’t displayed correctly)

Hi, sorry my poor english
I made this trick and work perfect
To the bottom of page, before {{/body}}

{{style}}
.fb_reset#fb-root div {top:-3500px !important;}
{{/style}}

the default range is {top:-2000 } but my page is more long of this range

or you could use the second option, taken from here

Just add:

#fb_xdm_frame_http, #fb_xdm_frame_https { display:none; border:none; }

to your style.css
http://wordpress.org/support/topic/plugin-wp-photo-album-plus-empty-box-showing-on-my-page?replies=5#post-2735629

An explanation offered within the WordPress forum mentioned above is the following…

Facebook is adding additional iframes for security reasons and they did not realize that user agents’ default styles sheets in some browsers contain rules such as iframe{border:2px inset; } , they will probably fix this soon, but this is a problem on facebook’s behalf meanwhile you can fix this issue by either css code directly for these iframes:

#fb_xdm_frame_http, #fb_xdm_frame_https { display:none; border:none; }

or you can add to your css reset rules:

iframe { border:none; }

Please follow any of those links to see who exactly should be given credit for the discoveries. (I’ve just stuck to disabling the fb like option for now.)

Tags: , , , , , , , , ,