How to print blog contents only?

  • 2
  • Question
  • Updated 8 years ago
I'm looking for a script or plugin to print blogs only (that is, no sidebar, no heading, no navigations, no comments). I've tried out CSS printing on Yola, it did worked on the homepage of blogs, however on blog pages, effect was not good, seemed that Yola defined all text field with the class name "sys_txt", so the blog content and blog widget content must be synchronized when printed...
The below is the css document that I've written, any other ideas for blog printing?

body {margin:0; padding:0; line-height: 1.4em; word-spacing:1px; letter-spacing:0.2px; font: 13px Arial, Helvetica,"Lucida

Grande", serif; color: #000;}
#sidebar {display:none;}
.blogTags_Default {display:none;}
.tag {display:none;}
.fb_reset {display:none;}
.first {display:none;}
.sys_heading {display:none;}
.post_banner_element {display:none;}
.post_banner_shadow {display:none;}
.sys_navigation {display:none;}
.selected first {display:none;}
.nav2_shadow {display:none;}
.page_header {display:none;}
.ys_banner_wrap {display:none;}
.ys_header {display:none;}
.ys_heading {display:none;}
.BlogCategories_Default {display:none;}
.BlogTags_Default {display:none;}
.BlogSearchWidget_Default {display:none;}
.HTML_Default {display:none;}
.float-right {display:none;}
.fb-like fb_edge_widget_with_comment fb_iframe_widget{display:none;}
.fb-send fb_edge_widget_with_comment fb_iframe_widget{display:none;}

.sys_txt {display:none ;}
.sys_blog {display:inherit ;}
.print {display:inherit ;}
.ys_content {display:inherit ;}
.postcontent{display:inherit ;}
.post {display:inherit ;}
Photo of Yijun Lu

Yijun Lu

  • 4 Posts
  • 0 Reply Likes

Posted 8 years ago

  • 2
Photo of Gop


  • 7473 Posts
  • 2115 Reply Likes
Hi Yijun Lu,

I guess the proof is a test. You are probably best to run and develop this your self first of all. I'm sure there will be many mods before it succeeds and it's nice work

There are 3rd party facilities for printing blog content only : eg: which are specifically set up for this. They have very helpful staff to communicate with if you get stuck or want some specific customisation.