Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #562430

    Hi
    Because the enfold-likebox-widget is limited in customization, I use the facebook page-plugin. First, I had to implement SDK for javascript in the header.php of my child-theme just below the comment
    <!– Scripts/CSS and wp_head hook –>

    
    <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/de_DE/sdk.js#xfbml=1&version=v2.5";
      fjs.parentNode.insertBefore(js, fjs);
    }(document, 'script', 'facebook-jssdk'));</script>

    Then, I created a text-widget and inserted following code I’ve got from here: Facebook-Developers-Site

    <div class="fb-page" data-href="https://www.facebook.com/Magiclift.ch" data-small-header="false" data-adapt-container-width="false" data-hide-cover="false" data-show-facepile="false"><div class="fb-xfbml-parse-ignore"><blockquote cite="https://www.facebook.com/Magiclift.ch"><a href="https://www.facebook.com/Magiclift.ch">Flugschule Magiclift</a></blockquote></div></div>
    

    This breaks my phone-info-bar. What’s wrong? Could you please write a short description how to use the actual page-plugin correctly? Thanks

    • This topic was modified 8 years, 10 months ago by filz51.
    #562516

    False alarm. It was a cache-issue. Thanks anyway

    #562630

    Hi,

    Ok, great. Please let us know if you should need any more help on the topic.

    Thanks,
    Rikard

    #563281

    Hi Rikard

    I spent hours on the weekend to fix my problem but I totally stuck and I really need your help.
    I switched now back to the likebox-widget from enfold 3.4.2 but I’m totally unhappy with it. It does not adapt the container width (check link 1).
    I tried to customize its appearance by this code, because I absolutely don’t want to show friends faces. But for some elements in the likebox-widget the css-code comes from facebook, so my options are limited and the result wouldn’t be good enough anyway. Your likebox-widget also breaks The menu on Safari and Firefox. This is not the case with Opera or Chrome, but on these two browsers don’t show the shrinking header. (Check link 2)

    I’d rather like to use the codes from my first post with SDK-imlementation because then I can hide friends faces. (Check lin 3). Better, but I get the same two problems here: No container-adaption and broken menu (Safari/Firefox) respectively no shrinking header (Opera/Chrome).

    Maybe it is important for you to know that the container in every case is inside the main content in a widget-area for wich I use other custom css I’ve gotten from the enfold support.

    Cheers,
    Filz51

    #564191

    Hey!

    Would be best for this forum to use different tickets for different questions.

    Make sure to use Enfold v3.4.7 and newest WordPress version.
    Could you provide us admin access, so we can take a closer look into it? Are we allowed to temporarily deactivate all your plugins? Post login details here as private reply.

    Best regards,
    Andy

Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.