-
AuthorPosts
-
October 30, 2015 at 2:38 pm #527403
hi. i have the social plugin in the footer.
i want the plugin to flow over a width of 960px and i should only be 200px high. can you please help me?
October 30, 2015 at 2:48 pm #527424Hello again. And is there a way to delete the black border line at the beginning of the footer socket?
October 30, 2015 at 3:08 pm #527445Hi!
Please add following code to Quick CSS
#footer { border: none; } ._2p3a { width: 960px!important; }
Code for Facebook may not work. API was updated and it is now responsive. We will change it in upcoming Enfold update which is coming soon.
Best regards,
YigitOctober 30, 2015 at 3:27 pm #527471Ok, so is there a way to use the facebook social plugin (not from enfold – the official) https://developers.facebook.com/docs/plugins/like-button in the widget area.
can i add this code in the widget area?
1. Include the JavaScript SDK on your page once, ideally right after the opening <body> tag.
<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&appId=399489406801839″;
fjs.parentNode.insertBefore(js, fjs);
}(document, ‘script’, ‘facebook-jssdk’));</script>2. Place the code for your plugin wherever you want the plugin to appear on your page.
<div class=”fb-like” data-href=”https://www.facebook.com/wiwaldiat” data-width=”960″ data-layout=”standard” data-action=”like” data-show-faces=”true” data-share=”true”></div>Can i add the code (2) in the widget. how can i do this? and where must i put code (1) ?
October 30, 2015 at 3:28 pm #527472October 30, 2015 at 3:39 pm #527482Hi!
Please add following code to Functions.php file in Appearance > Editor
function add_custom_target(){ ?> <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&appId=399489406801839"; fjs.parentNode.insertBefore(js, fjs); }(document, 'script', 'facebook-jssdk'));</script> <?php } add_action('wp_footer', 'add_custom_target');
and then add second code into a text widget in Appearance > Widgets
Cheers!
YigitOctober 30, 2015 at 3:41 pm #527486Ok, i try this! Thank you yigit. Can you also please help me to delte this gray area in the widget area.
October 30, 2015 at 3:45 pm #527488Thank you. I have done this. But i do not see the facebook plugin ;(
October 30, 2015 at 3:48 pm #527490Hey!
Please create a temporary admin login and post it here privately.
Regards,
YigitOctober 30, 2015 at 4:02 pm #527509;) Thank you so much Yigit.
October 30, 2015 at 4:28 pm #527530October 30, 2015 at 4:38 pm #527540Hey Yigit. Thank you – awesome!! How can i add the images of the facebook site members into the area? like here:
October 30, 2015 at 4:41 pm #527544Hi!
Please use this one instead – https://developers.facebook.com/docs/plugins/page-plugin/
Regards,
YigitOctober 30, 2015 at 5:02 pm #527554Hi Yigit. Looks great!!!!!!!! Only thing. is there a way to let the images run over the whole width?? like here: http://imgur.com/mUxjQwz
October 30, 2015 at 5:06 pm #527559Hi!
On which page do you have it? It still looks like this on my end – http://i.imgur.com/pd9nHTj.png
Regards,
YigitOctober 30, 2015 at 5:17 pm #527561You need to be logged into facebook :) :) :)
October 30, 2015 at 5:20 pm #527562October 30, 2015 at 9:25 pm #527706CLOSED :) Thanks, can you help me again with this: https://kriesi.at/support/topic/video-is-only-530px-high/
When i use your code the portrait detail site looks good.
-
AuthorPosts
- The topic ‘help with social plugin’ is closed to new replies.