Blogger Templates for your blogspot Blog, Adsense Blogger template, Making Money Online With Tips Tricks

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 == &quot;item&quot;'>
<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.

10 Responses to "How to print your blogger post?"

  1. Rebecca Says:

    I cant find the code you list in #5 anywhere in my html. Any ideas?

  2. Project Inversion Says:

    check the check box for the expand widget template

  3. Mital Says:

    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...

  4. Unknown Says:

    I had the same problem as Rebecca above, can't find that string at all, even having checked the box as advised above :-(

  5. stvlol Says:

    That kind of code must be in your template somewhere.

  6. www.QuiQinQ.com Says:

    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

  7. Divya Says:

    Thankyou so much for this post! I tried and it works!

  8. blogger lombok Says:

    thanks a lot.. it works..

  9. J Cosmo Newbery Says:

    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

  10. J Cosmo Newbery Says:

    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.

Leave a Reply