How to add Facebook like popup to your blog ? | Lafandar.org
Social media these days become the most popular method to reach to most of the users. Today I am going to show you how to setup popup for everytime a user visit to your site.Most of the website you have found shows you to add a HTML/Java Script to sidebar. But this can be done by adding a simple code in the body section.So follow the below simple steps :
Here is the step by step methods :-
1. Login to Blogger Dashboard.
2. Go to Template >Edit HTML as shown in the picture.
3. Search for the </body> tag using CTRL +F
4. Now Copy and paste the following code before </body> tag.
<style type='text/css'>
#lafandarFBpop {
position:fixed !important;
position:absolute;
top:-1000px;
left:50%;
margin:0px 0px 0px -182px;
width:300px;
height:auto;
padding:16px;
background:#FEFEFE;font:normal Dosis, Georgia, Serif;
color:#111;
border:2px solid #333;
-webkit-box-shadow:0px 1px 2px rgba(0,0,0,0.4);
-moz-box-shadow:0px 1px 2px rgba(0,0,0,0.4);
box-shadow:0px 1px 2px rgba(0,0,0,0.4);
-webkit-border-radius:10px;
-moz-border-radius:10px;
border-radius:10px;
}
#lafandarFBpop a.lafandarblogclose {
position:absolute;
top:-10px;
right:-10px;
background:#fff;
font:bold 16px Arial, Sans-Serif;
text-decoration:none;
line-height:22px;
width:22px;
text-align:center;
color:#000000;
border:2px solid #333;
-webkit-box-shadow:0px 1px 2px rgba(0,0,0,0.4);
-moz-box-shadow:0px 1px 2px rgba(0,0,0,0.4);
box-shadow:0px 1px 2px rgba(0,0,0,0.4);
-webkit-border-radius:22px;
-moz-border-radius:22px;
border-radius:25px;
cursor:pointer;
}
</style>
<script src='http://ajax.googleapis.com/ajax/libs/jquery/1.4.1/jquery.min.js' type='text/javascript'/>
<script type='text/javascript'>
$(window).bind("load", function() {
// Animate Top
$('#lafandarblogFBpop').animate({top:"150px"}, 1000);
// Widget by www.lafandar.org
$('a.lafandarblogclose').click(function() {
$(this).parent().fadeOut();
return false;
});
});
</script>
<div id='lafandarFBpop'>
<!-- Widget by www.lafandar.org Start -->
<center>
<b>Don't Forget To Join US Our Community</b></center>
<center>
<iframe allowtransparency='true' frameborder='0' scrolling='no' src='//www.facebook.com/plugins/likebox.php?href=https%3A%2F%2Fwww.facebook.com%2Flafandar&width=300&height=258&show_faces=true&colorscheme=light&stream=false&show_border=false&header=false&appId=196282097100252' style='border:none; overflow:hidden; width:300px; height:258px;'/>
</center>
<!-- Widget by www.lafandar.org End -->
<a class='lafandarclose' href='#'>×</a>
<center style='float:right; margin-right:10px;'>
<span style='font-size:xx-small; color:#000; text-decoration:none;'></span>
<a href='http://www.lafandar.org/2015/10/how-to-add-facebook-like-popup-to-your-blog.html'style='font-size:xx-small; color:#3B78CD; text-decoration:none;' target='_blank'>Widget</a></center>
</div>
5. Change the Lafandar with your facebook Page name.
6. Click on save button .
This is the best method as my concerned . Have you tried any other methods share in comment section below.
How to add Facebook like popup to your blog ? | Lafandar.org
Reviewed by Ankita
on
मंगलवार, अक्टूबर 20, 2015
Rating:
