Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #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?

    #582617

    Hey 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,
    Rikard

    #586474

    Hi, any progress?
    This is an interesting feature, which replaces invite friends.
    Thanks

    #586965

    Hi,

    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, 10 months ago by Rikard.
    #587086

    Hi, 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 …)

    #588154

    Hi!

    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,
    Ismael

    #588415

    Thanks.

    #588752

    Hey!

    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!
    Ismael

    #589156

    Yes, it works. I could not do it without your help. Thank you.

    • This reply was modified 8 years, 10 months ago by ayron.
Viewing 9 posts - 1 through 9 (of 9 total)
  • The topic ‘Facebook Send Button’ is closed to new replies.