-
AuthorPosts
-
February 10, 2016 at 10:51 pm #581365
Hi,
the code works fine on the developer facebook test environment. But when I insert the page content appears squeezed.
Can you help me?February 13, 2016 at 5:00 am #582617Hey ayron,
Sorry for the late reply, I’m not sure what’s going on there but you have most of the code wrapped in a span with the following styling:
vertical-align: bottom; width: 61px; height: 20px;
I would check that out as it’s most likely the root of the problem.
Thanks,
RikardFebruary 20, 2016 at 4:24 pm #586474Hi, any progress?
This is an interesting feature, which replaces invite friends.
ThanksFebruary 22, 2016 at 8:53 am #586965Hi,
Did you see my first reply? Please have a look at the inline styling you are applying in your code. If you should have further problems then please post admin login details in private so that we can have a closer look.
Regards,
Rikard- This reply was modified 8 years, 8 months ago by Rikard.
February 22, 2016 at 1:33 pm #587086Hi, Rikard
I saw the previous message and appreciate your help.
The facebook provides the code and make insertion into the post. All other social plugins work well. This feature is a new feature, it may be that the code is not working properly yet.
What I did was enter the code as I do with other social plugins (like, share, embeddeds …)February 24, 2016 at 6:33 am #588154Hi!
Please replace the code with this:
<div id="fb-root"></div> <script>(function(d, s, id) { var js, fjs = d.getElementsByTagName(s)[0]; if (d.getElementById(id)) return; js = d.createElement(s); js.id = id; js.src = "//connect.facebook.net/pt_BR/sdk.js#xfbml=1&version=v2.5&appId=447284828813041″; fjs.parentNode.insertBefore(js, fjs); }(document, 'script', 'facebook-jssdk'));</script> <div class="blog_facebook_button"> <div class="fb-send" data-href="https://agroempresas.com.br/" data-layout="box_count" data-width="250" data-show-faces="false" data-font="lucida grande"></div></div>
Add this in the Quick CSS field:
.blog_facebook_button { position: relative; z-index: 9999; } .fb-like { position: absolute; top: 0; left: 0; z-index: 9999; } .fb_iframe_widget, .fb_iframe_widget * { display: block; position: relative; min-width: 500px !important; z-index: 9999; }
Best regards,
IsmaelFebruary 24, 2016 at 3:12 pm #588415Thanks.
February 25, 2016 at 5:45 am #588752Hey!
Did it work? You may notice that the frame is covered by the elements below. All you need to do is increase the z-index value of the container where the send button is located.
Cheers!
IsmaelFebruary 25, 2016 at 3:08 pm #589156Yes, it works. I could not do it without your help. Thank you.
- This reply was modified 8 years, 8 months ago by ayron.
-
AuthorPosts
- The topic ‘Facebook Send Button’ is closed to new replies.