Add Expand/Collapse Blogger comment Box To Blogger

After a lot of testing and hard work, i was able to bring you one of the best widget to spice up your comment box, as you all know that making your blog/site attractive is a very complicated task, which some designers/developers find it so difficult in customizing or adding effect to the comment box. Now this tutorial will show you How To Add Expand/Collapse Blogger comment Box To Blogger.

Expand/Collapse Blogger comment Box Demo



LIVE DEMO


How To Add Expand/Collapse Blogger comment Box To Blogger


  • Go to Blogger Dashboard 
  • Click on DropDown Menu and select Template
  • Backup your Template before making any changes to your blog
  • Now Click on Edit HTML --> Proceed --> Expand Widget Templates
  • Press Ctrl + F and search the code shown below


</head>


  • Now replace it with the code shown below


<style type="text/css">
 h2.trigger2 {
padding-left:50px;
margin:10px 0px 10px 10px;
background: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgpnU1u_TRIZcykG9uNfKG3InWoTYpXuiyezkILrdcWPUG6oPyIpcNt4CSJoOdePIJkpM-J3CV7N9BXH3uhxK0rIxe74zmPv-QPYwF6oX02zlpVPYUXzh-y_9ACk0blJ1YpwKoip2S24IY/s1600/h2trigger.png) no-repeat;
height: 46px;
line-height: 46px;
width: 580px;
font-family:"Francois One";
font-size: 1.4em;
font-weight: bold;
text-align:left;
color:#fff;
float: left;
cursor:pointer;
}
h2.active {
background-position: bottom left;
}
.toggle_container2 {
padding-left:10px;
overflow: hidden;
clear: both;
}
</style>
<script type='text/javascript'>
$(document).ready(function(){
   
    $(&quot;.toggle_container2&quot;).hide();

    $(&quot;h2.trigger2&quot;).click(function(){
        $(this).toggleClass(&quot;active&quot;).next().slideToggle(&quot;slow&quot;);
    });

});
</script></head>

  • To change the width of the button edit width: 580px
  • Now Find the code shown below using [ctrl+F]


<b:includable id='comment-form' var='post'>

  • Now Paste the Code Shown Below just below/after it

<h2 class='trigger2'>Click to Add a New Comment</h2>
<div class='toggle_container2'>
<div class='block'>

  • And above </b:includable> paste this code:

<p style=' line-height:0px; font-family:Arial; font-size:8px; font-weight:bold; text-align:right;'><a href='http://www.mybloggertools.org/2012/07/add-expandcollapse-blogger-comment-box.html' style='color:#CAC8C8;'><i>Get This</i></a></p></div></div>

  • See the image shown below to see you have followed the steps correctly.

Like it? Share it.

25 comments

7 July 2012 at 07:24

Brother I Tried It Very Much But unsuccessfull..And I Want The Same Comment Backgroung Which you have..So Bhai Please Meri Help Karo Yaar..

7 July 2012 at 23:28

I Sent It To You Please Add The Gadget's

8 July 2012 at 01:32 Author

@Sunil Fixed and sent back to you

8 July 2012 at 03:41

Great Work Buddy Thank You.. But How Can I Increase The Width Of My Template.

10 July 2012 at 05:28

Brother After Doing 1 Comment on My Post.. It Revert Back To Old Comment Look..Comment On My Blog And See What Happen..Help Me..

my Blog Is Getripstuff.blogspot.com

12 July 2012 at 02:18

Dear Sonu i can not found the code in my blog..... help me...

21 July 2012 at 21:25 Author

Brother It Is Not Closing..click to add a comment...it remains open always...
check here tricksandteachlab.blogspot.com

21 July 2012 at 22:59 Author

@ADMIN Install this code again in your template
<h2 class='trigger2'>Click to Add a New Comment</h2>
<div class='toggle_container2'>
<div class='block'>
and
<p style="display:none;">Blogger comment Box by <a href="http://www.latesthack.com">Latest Hack</a></p></div></div>

21 July 2012 at 23:38 Author

not working tried many times...? help

22 July 2012 at 04:42 Author

@ADMIN Send me your template

22 July 2012 at 05:18 Author

I SENT THE TEMPLATE TO YOU

22 July 2012 at 06:01 Author

@ADMIN Fixed and sent back to you

22 July 2012 at 10:00 Author

thx for helping me brother..

24 July 2012 at 04:38 Author

i ve sent my blog code to ur mail ....check d attachement and add d widget and send back plz...
http://besthacking99.blogspot.in/

24 July 2012 at 04:39 Author

i ve sent my blog code ....check d attachement and add d widget and send back....

24 July 2012 at 05:09

thank you very much brother its working like a charm!!!!!!

24 July 2012 at 06:27 Author

@ranga nathan Fixed and sent back to you

31 July 2012 at 22:35 Author

Like

2 August 2012 at 02:06

I'll try it and if i fail may be i'll need your help sonu ;)
i'll reply as soon as i got a result ;)

2 August 2012 at 03:38 Author

@Admin can you give me a demo

3 August 2012 at 00:35

@sonu

Hi Sonu

Brother I Tried It many times But i fail .. Please I Want The Same Comment Background Which you have here "widget" i sent u an E-mail with html file ,, u can find my mail with name sender: Tamer Magd

5 August 2012 at 04:16

@sonu

I sent it to your E-mail with full template ... i am waiting your Reply dude ;)

5 August 2012 at 23:33 Author

@AdminI have not received any mail from you

6 August 2012 at 11:15

@sonu

I sent it again to you ,, Please check it again ...
my name in E-mail is : Tamer Magd

18 November 2012 at 00:14 Author

Tried this one too. But not working on my website www.fantastech.org . I will send you my template file to your email. Please add this gadget and http://www.mybloggertools.org/2012/08/add-css3-spinning-social-sharing.html and http://www.mybloggertools.org/2012/08/add-css3-spinning-social-sharing.html

Click to Add a New Comment

  • If you're asking a question click on Subscribe By Email link, on the comment form, to be notified of replies.
  • Do NOT add links to the body of your comment as they will not be published.
  • Only the comments posted in ENGLISH will be approved.
  • If you have a problem check first the comments , maybe you will find the solution there.