Want to add a print before the comment form in the blogger post? Here is tutorial to make it possible to blogspot blog. Follow step below :
1. Login to http://www.blogger.com/home
2. Click Layout >> Edit HTML >> Expand widget templates >> and find </head>
3. Add code below before </head> code<style media='print' type='text/css'>
#header-wrapper, #header, .header, #sidebar-wrapper, .sidebar, #footer-wrapper, #footer, .date-header, .post-meta-data, .comment-link, .comment-footer, #blog-pager, #backlinks-container, #navbar-section, .subscribe_notice, .noprint {display: none;}
#main-wrapper {width: 95%}
</style>
4. So it will be look like this<style media='print' type='text/css'>
#header-wrapper, #header, .header, #sidebar-wrapper, .sidebar, #footer-wrapper, #footer, .date-header, .post-meta-data, .comment-link, .comment-footer, #blog-pager, #backlinks-container, #navbar-section, .subscribe_notice, .noprint {display: none;}
#main-wrapper {width: 95%}
</style>
</head>
5. Now find this code<p><data:post.body/></p>
6. Add this line after that code<b:if cond='data:blog.pageType == "item"'>
<a href='javascript:window.print()'>Print this post</a>
</b:if>
7. Don't forget to save it.
Done. If you need a help you can comment below.
August 28, 2009 at 6:37 PM
I cant find the code you list in #5 anywhere in my html. Any ideas?
August 29, 2009 at 4:10 PM
check the check box for the expand widget template
March 18, 2010 at 5:24 AM
Thank you so much for this post.
Actually I was looking for such blog service which provides the print functionality and look, I got here.
Thank you so much...
April 17, 2010 at 10:18 AM
I had the same problem as Rebecca above, can't find that string at all, even having checked the box as advised above :-(
April 19, 2010 at 5:01 AM
That kind of code must be in your template somewhere.
April 20, 2010 at 1:09 PM
Hi there,
@Quentin
@Rebecca
Well if you are having problem with the code here is a simple way doing the sme thing without editing the template, although little less customisable than the trick mentioned her. But it gets the work done.
It actually works as an gadget/widget and hence can be added/deleted as any other widget. To get the code and instructions visit http://blog.sumitcbrty.com/2010/04/widgetcode-for-printing-printer.html
Hope that works. And please give me youe valuable feedbacks.
Thanks
February 14, 2011 at 2:11 AM
Thankyou so much for this post! I tried and it works!
August 10, 2011 at 9:54 PM
thanks a lot.. it works..
November 3, 2011 at 5:59 PM
For some reason the post is off-centre.
Go to the following link and do a print preview to see what I mean. Any suggestions?
http://jcosmonewbery2.blogspot.com/2011/10/cclxi-nightfall.html
November 3, 2011 at 6:13 PM
OK, forget my last post. Something very odd is afoot. I have two partitions on my computer (don't ask) and Firefox prints centred from one and off centre from the other.
Beats me.