How to add a Print button in a blogger?
Making your journal Printer-Friendly
1. Login to your blogger account and visit Layout > Edit hypertext markup language and appearance for
</head><br>
2. Just higher than this line, we'll insert our CSS which can outline however the page ought to be written, and what all shouldn’t be written thereon. (you will additional modify it in step with your desires.you can decide that selectors ought to be displayed and that shouldn't)
<style type="text/css" media="print"><br>
#header-wrapper,#header,.header, #sidebar-wrapper,.sidebar, #footer-wrapper,#footer,.date-header,.comment-link,.comment-footer,#comments,#blog-pager,.feed-links, #backlinks-container, #navbar-iframe,.dontprint
.post,#content-wrapper,#main-wrapper,#main</style><br>
3. Save the model and look at your journal. currently from the File menu of your Browser Click on the Print Preview
4. Adjust the CSS (hide a lot of selectors) till all unwanted parts are hidden on the Print Preview Page.
5. Now your journal is Printer Friendly.
Adding The Print This Link
1. visit Layout > Edit hypertext markup language and click on the Checkbox to expand the gadget templates.
2. Look for
<data:post .body/>
and below that paste the subsequent code
<b:if cond='data:blog.pageType == "item"'>
<span style='background: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgnpDooQvXM_wxARJayXLugLgDkn6WXQNhAhCdBx3zfJAOkFCsAmnDCQU0Z0mqHZ2_NMoN22mcCYDxW_ljavdP6O2EH1LidPDDGK8rfQ2SGdj3m0aZXegTZR3eJYQrvOOmD86r74SgZYjg/s1600/print-this.png) left no-repeat; padding-left: 25px;display:inline;'><a href='javascript:window.print()' rel="nofollow" >Print this post</a></span>
</b:if>
Print this post
By this Print, the button will appear on your post
Bugs:
1. The whole page isn't obtaining written. It prints the primary page solely and truncates the remainder.
Solution: - If your model uses the CSS properties float and overflow, then this downside may arise. a technique to mend this is often to reset the float and overflow sorts of the selectors to the default values none and visual respectively(reset the selector designs within the printer CSS)
Read More:
- Trump bans US companies from doing business with Huawei | Economic Aspects
- Strange laws are gathered in the world
- Huawei P30 Series - Specifications
- Main points and Disadvantages of iPhone X
- Internet Download Manager | Free Download | Full Version
- About the Browser, Advantages, and Disadvantages of 5 Major Browsers - Features
- How to Transfer any Video or Audio from YouTube in PC?
- Android vs. iOS: Which is the best operating system?
- How to make a song? The secret is like this!
- Top 10 Successful Youtubers in the World
0 Comments