Create Full Width Comment box in blogger templates

Full Width Comment box
Blogger comment box

We have seen that blogger default comment form is not fit to the template body. For this reason often it looks odd. Those who are using default blogger template you would see the comment box aligning left site of the template which is not looking professional.  And those who are using custom form or background they would also see the comment box width is not matching with template body width. Because in customized form you would see most of the tutorial has written width code 590px which is not match with template actual body width. Recently most of the blogger using responsive and wide screen template but if your comment box width is 590px then it won't look pretty good. So I am sharing with you a simple CSS trick which make your blogger comment box fit with your template's body. To see the Demo you can check my blog comment box.




default comment box
Comment box Before applying the CSS Trick


width comment box
 Comment box After applying the CSS Trick

Step 1 Log in to your Blogger Account and Click on Template  ->

Step 2 Now click on Edit HTML-> Unfold code  

Step 3 Now find ]]></b:skin> by Pressing  Ctrl + F

Step 4 And Paste the below code above ]]></b:skin> 

/*****************************************
Trick by www.bloggerspice.com
******************************************/
#comment-editor{width:100%!important}
.comment-form{width:100%;max-width:100%}
 
Step 5 Now simply hit the save button

Customization

  • Change width:100% with 98% or 99% for avoiding cutting edge of the comment box.

In my template I am using 98% for best fit with my comment message form. You may use different width blogger template, so change the percentage according to your template width. Hope this tutorial would help to make your comment box beautiful. For further assistance feel free to leave a comment.
Go Up