To notify your readers that your posts can be printed effectively, you'll probably want to add a "Print" link beneath each of your Blogger posts.
Follow steps
1. Log in Blogger Dashboard
2. Click Design --> edit HTML --> click "expand widget templates" and search for this tag </head>
3. Immedietly before this line, add the following lines of code
<style media='print' type='text/css'>
4. Now search for this code:
5. Immediately after this line, paste following lines of code:
6. Save Template.
Follow steps
1. Log in Blogger Dashboard
2. Click Design --> edit HTML --> click "expand widget templates" and search for this tag </head>
3. Immedietly before this line, add the following lines of 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>
#main-wrapper {width: 95%}
</style>
4. Now search for this code:
<p><data:post.body/></p>
5. Immediately after this line, paste following lines of code:
<b:if cond='data:blog.pageType == "item"'>
<a href='javascript:window.print()'>Print this post</a>
</b:if>
<a href='javascript:window.print()'>Print this post</a>
</b:if>
6. Save Template.
0 comments:
Post a Comment