Skip to content


Have you ever walked in somebody’s blog and saw something that amuses you, and you be like “whaaaat” I want one of those on my blog. Yep! If you’re new to blogging and/ or just created a facebook like page you will need this to get you more likes from your blog readers.

How does the facebook transparent like box works? Once a visitor visits your site, a transparent facebook like box will pop up prompting the reader to like your facebook page. Don’t worry, it won’t annoy your visitors because it will only come once and it has a cancel button if the reader do not feel like liking the page.

If you need to see a sample of the like box then do check here

Once you implement this code on your blog, it will increase the likes on your page by showing your readers your page. Let me not bore you with my talks and let’s get the code shall we.

Now copy the below codes as it is:



ColorBox Core Style:

The following CSS is consistent between example themes and should not be altered.


#colorbox, #cboxOverlay, #cboxWrapper{position:absolute; top:0; left:0; z-index:9999; overflow:hidden;}

#cboxOverlay{position:fixed; width:100%; height:100%;}

#cboxMiddleLeft, #cboxBottomLeft{clear:left;}




#cboxLoadingOverlay, #cboxLoadingGraphic{position:absolute; top:0; left:0; width:100%;}

#cboxPrevious, #cboxNext, #cboxClose, #cboxSlideshow{cursor:pointer;}

.cboxPhoto{float:left; margin:auto; border:0; display:block;}

.cboxIframe{width:100%; height:100%; display:block; border:0;}


User Style:

Change the following styles to modify the appearance of ColorBox. They are

ordered & tabbed in a way that represents the nesting of the generated HTML.


#cboxOverlay{background:#000;opacity:0.5 !important;}


box-shadow:0 0 15px rgba(0,0,0,0.4);

-moz-box-shadow:0 0 15px rgba(0,0,0,0.4);

-webkit-box-shadow:0 0 15px rgba(0,0,0,0.4);


#cboxTopLeft{width:14px; height:14px; background:url( no-repeat 0 0;}

#cboxTopCenter{height:14px; background:url( repeat-x top left;}

#cboxTopRight{width:14px; height:14px; background:url( no-repeat -36px 0;}

#cboxBottomLeft{width:14px; height:43px; background:url( no-repeat 0 -32px;}

#cboxBottomCenter{height:43px; background:url( repeat-x bottom left;}

#cboxBottomRight{width:14px; height:43px; background:url( no-repeat -36px -32px;}

#cboxMiddleLeft{width:14px; background:url( repeat-y -175px 0;}

#cboxMiddleRight{width:14px; background:url( repeat-y -211px 0;}

#cboxContent{background:#fff; overflow:visible;}


#cboxLoadingOverlay{background:url( no-repeat center center;}

#cboxLoadingGraphic{background:url( no-repeat center center;}

#cboxTitle{position:absolute; bottom:-25px; left:0; text-align:center; width:100%; font-weight:bold; color:#7C7C7C;}

#cboxCurrent{position:absolute; bottom:-25px; left:58px; font-weight:bold; color:#7C7C7C;}

#cboxPrevious, #cboxNext, #cboxClose, #cboxSlideshow{position:absolute; bottom:-29px; background:url( no-repeat 0px 0px; width:23px; height:23px; text-indent:-9999px;}

#cboxPrevious{left:0px; background-position: -51px -25px;}

#cboxPrevious.hover{background-position:-51px 0px;}

#cboxNext{left:27px; background-position:-75px -25px;}

#cboxNext.hover{background-position:-75px 0px;}

#cboxClose{right:0; background-position:-100px -25px;}

#cboxClose.hover{background-position:-100px 0px;}

.cboxSlideshow_on #cboxSlideshow{background-position:-125px 0px; right:27px;}

.cboxSlideshow_on #cboxSlideshow.hover{background-position:-150px 0px;}

.cboxSlideshow_off #cboxSlideshow{background-position:-150px -25px; right:27px;}

.cboxSlideshow_off #cboxSlideshow.hover{background-position:-125px 0px;}


/* Facebook Likebox popup For Blogger


#subscribe {

font: 12px/1.2 Arial,Helvetica,san-serif; color:#666;


#subscribe a,

#subscribe a:hover,

#subscribe a:visited {



.box-title {

color: #3B5998;

font-size: 20px !important;

font-weight: bold;

margin: 10px 0;

border:1px solid #ddd;




box-shadow: 5px 5px 5px #CCCCCC;


line-height:25px; font-family:arial !important;


.box-tagline {

color: #999;

margin: 0;

text-align: center;


#subs-container {

padding: 35px 0 30px 0;

position: relative;


a:link, a:visited {



.demo {




<script src=’’></script>

<script src=""></script>

<script type="text/javascript">


if (document.cookie.indexOf(‘visited=true’) == -1) {

var fifteenDays = 1000*60*60*24*30;

var expires = new Date((new Date()).valueOf() + fifteenDays);

document.cookie = "visited=true;expires=" + expires.toUTCString();

$.colorbox({width:"400px", inline:true, href:"#subscribe"});




<!– This contains the hidden content for inline calls –>

<div style=’display:none’>

<div id=’subscribe’ style=’padding:10px; background:#006633;’>

<h3>Join Our Fan Page For Latest Updates Via Facebook.<center><p style="line-height:3px;" >▼</p></center></h3>


<iframe src="// USERNAMEHERE&amp;width=300&amp;colorscheme=light&amp;show_faces=true&amp;border_color=%23ffffff&amp;stream=false&amp;header=false&amp;height=258" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:300px; height:258px;" allowtransparency="true"></iframe>


<p style=" float:right; margin-right:35px; font-size:9px;" >Proudly Powered By | <a style=" font-size:9px; color:#3B78CD; text-decoration:none;" href="">Onenaija Blog</a>



Have you copied the code? Ok the only thing you will change is the “YOUR USERNAMEHERE” replace it with your facebook username.

To implement it on your wordpress or blogger, follow the below steps

TO PUT IT IN BLOGGER BLOG: To implement it on your blogger blog is easy. Go to your dashboard/ admin section and click template. Click on “add widget” and save it. You have successfully completed the process, now check your blog and see how it beautifies it.

TO PUT IT IN WORDPRESS BLOG: In your wordpress admin panel/ section, go to “widget” and drag the “text” widget to your side bar.  Now paste your prefer code and save it.

What is the question that is running through your mind? Pit it out by using the comment box below. Remember that your comments are highly appreciated.

If you find this comment useful do not forget to click the like button, share us and recommend us to friends. You can subscribe to our feed for latest update on the go.


  1. This definitely gonna be on my website. Being a social networking website for artistes, I sure need to use this script to enhance my page presence on facebook…

    And am talking increased traffic.
    Thanks a zillion bro!

  2. Your post seems good as I have added a like box to my blogger blog. Now I need to remove border of a static like box to put it into my blog sidebar. Can you please help me?

    1. ok if you want to create a Facebook like for your sidebar, you’ll have to go to Facebook developers page and get the like box. on editing the like box, you’ll see a space for border, now change the border to your preferred color. hope that helps!

  3. Hello babanature bro I have not been able to put that its method in my blog, I do not know if I’m doing right when you say to replace “YOUR usernamehere” is that part of the script? this part here

    because my page is
    I change where the% FYOUR? if you have to make an example putting my page above will be grateful, I thank you for your attention! ^ ^

    1. Hello Wilson,
      replace “your username here” with your own username simply means: if your facebook page is “”, put the “onenaija” in the username area. that’s all

Leave a Reply

Your email address will not be published. Required fields are marked *