Viewing 19 posts - 1 through 19 (of 19 total)
  • Author
    Posts
  • #465991

    Today, the content displayed in the Facebook like box has changed from images of followers to also include a chopped off view of the Facebook cover photo and a few followers plus a lot of white space. I removed it from a demo site that I’m working on because it looks awful. Is there a way to fix it?

    • This topic was modified 8 years, 10 months ago by nb2556.
    #466524

    Hey nb2556!

    Send us a link to your page so we can see what’s going on. Make sure your using the latest version of Enfold, 3.2.2, and deactivate all plugins while testing.

    Regards,
    Elliott

    #472283

    Having the same issue.It now displays the pages title as well as one row of followers. I can change the height to whatever I wand – the Display remains totally the same.

    #472800

    Hi!

    Could you provide us with a link to the site in question so that we can take a closer look please?

    Regards,
    Rikard

    #472972

    Development Site is http://www.georg-ludwig.de/aktuelles. I’ve tried the code-generator for the new plugin on facebook. Interesting to see, that it doesn’t accept data-height as well (see production site: http://www.stiletto-mode.de/aktuelles.

    Maybe a Facebook-Problem ?

    #473290

    Hi Georg,

    The reason for the change is that Facebook has deprecated a few of their plugins including their old features with a recent API update.

    https://developers.facebook.com/docs/plugins/deprecated

    Regards,
    Dake

    #480845

    Hi, same problem for me, what can we do, the style is included in the bounding div and you can not change the css.

    Regards.
    Jean

    #481641

    Hey!

    The old facebook like box is deprecated so you will not be able to use it anymore. You can generate a new likebox widget on the fb page plugin generator. Make sure that “Adapt to plugin container width” is enabled: https://developers.facebook.com/docs/plugins/page-plugin

    Regards,
    Ismael

    #482614

    Hi Ismael,

    I’ve been trying this for a few days now (on a local hosted site) and I just can’t seem to get it to work. When I add the code generated by Facebook and I put it in the text Widget it will only display a blockquote saying: Facebook – it just wont show the FB image and faces. The only way I got it working was trough some code I found online:

    <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/nl_NL/sdk.js#xfbml=1&version=v2.3”;
    fjs.parentNode.insertBefore(js, fjs);
    }(document, ‘script’, ‘facebook-jssdk’));</script>

    Is this the right way to do it?

    • This reply was modified 8 years, 9 months ago by Pink_Monkey.
    #482637

    Hi Pink_Monkey, yes, it takes one side to the HTML code provided by Facebook in a text-html widget and on the other hand add the script provided also by Facebook in header.php, and there it works.

    Look this website in the footer : http://www.gestalt.fr/

    Regards.
    Jean

    #482665

    Hi Jean,

    tnx for the fast response. I’ve put the code inside the textwidget together with the FB like button code. Is it better to put the code in the header.php? And if so, how can i do this using a child theme? Just put it in the functions.php?

    Regards,
    Sebastiaan

    #482667

    Hi!

    Please add following code to functions.php file of your child theme

    function add_custom_code_head(){
    ?>
    // YOUR CODE GOES HERE 
    <?php
    }
    add_action('wp_head', 'add_custom_code_head');

    Regards,
    Yigit

    #482741

    Hi Yigit,

    I used your code and gave it a try, but it didn’t work. It didn’t show the widget. Can you please help me out.

    It looked like this:

    in functions.php

    function add_custom_code_head(){
    ?>
     <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/nl_NL/sdk.js#xfbml=1&version=v2.3";
          fjs.parentNode.insertBefore(js, fjs);
        }(document, 'script', 'facebook-jssdk'));</script><div class="fb-page" data-href="https://www.facebook.com/facebook" data-width="294px" data-hide-cover="false" data-show-facepile="true" data-show-posts="false"></div>
    <?php
    }
    add_action('wp_head', 'add_custom_code_head');

    and in the textwidget in the sidebar:

    <div class="fb-page" data-href="https://www.facebook.com/divalifestyle" data-width="294px" data-hide-cover="false" data-show-facepile="true" data-show-posts="false"></div>

    But when i put all this in the textwidget it works fine (without using functions.php):

        <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/nl_NL/sdk.js#xfbml=1&version=v2.3";
          fjs.parentNode.insertBefore(js, fjs);
        }(document, 'script', 'facebook-jssdk'));</script><div class="fb-page" data-href="https://www.facebook.com/facebook" data-width="294px" data-hide-cover="false" data-show-facepile="true" data-show-posts="false"></div>
    • This reply was modified 8 years, 9 months ago by Pink_Monkey.
    #482977

    Hi, I copy a header.php file in my child theme with the script Facebook and it’s work fine.

    Regards.
    Jean

    • This reply was modified 8 years, 9 months ago by freepixelweb.
    #483451

    Hey!

    You can actually copy both scripts on a text widget. If you generate the likebox widget, you need to copy two scripts. You can grab these scripts inside a text widget. Here’s an example:

    <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/en_US/sdk.js#xfbml=1&version=v2.4";
      fjs.parentNode.insertBefore(js, fjs);
    }(document, 'script', 'facebook-jssdk'));</script>
    <div class="fb-page" data-href="https://www.facebook.com/kriesi.at" data-small-header="false" data-adapt-container-width="true" data-hide-cover="false" data-show-facepile="true" data-show-posts="false"><div class="fb-xfbml-parse-ignore"><blockquote cite="https://www.facebook.com/kriesi.at"><a href="https://www.facebook.com/kriesi.at">Kriesi</a></blockquote></div></div>
    

    Cheers!
    Ismael

    #485086

    HI Ismael,

    thats exactly what i did (see my previous reply) so it works now!
    ty!

    Cheers

    #485306

    Hi!

    glad Ismael could help you. Let us know in a new ticket if you have some more questions or issues related to the theme. We are happy to assist.

    Best regards,
    Andy

    #514941

    Hello, somebody with a solution for the problem with Facebook Like box width?
    I have tried copying the codes inside a text widget but still it doesnt work. By doing this the box does not appears.
    I appreciate your help.

    #515208

    Hi!


    @ricaza
    Please do not highjack threads. You already have an open one here – https://kriesi.at/support/topic/facebook-like-box-width-problem/page/2/

    Regards,
    Yigit

Viewing 19 posts - 1 through 19 (of 19 total)
  • The topic ‘Change in appearance of Enfold:facebook likebox’ is closed to new replies.