More graceful print style?

Permalink Browser Info Environment
Hi,

This theme looks really nice! Another person raised a point about mobile terminal, but in addition, would it be possible to add a CSS style or something so that the pages would print more gracefully? (without background image but the text components clearly visible and nicely organized)

Type: Discussion
Status: New
RyujiS
View Replies:
c5mix replied on at Permalink Reply
c5mix
Thanks for the feedback! You should just be able to add a print.css file and declare whatever you want in there. Making the background image not show up would be kind of tricky though based on how the javascript for that works.
See this link for more info on print style sheets:http://www.webcredible.co.uk/user-friendly-resources/css/print-styl...

This might be something I address in a later version.
Styves replied on at Permalink Reply
Styves
Hi,

I got the same problem. Probably we can add just a line in the css file, so the background will not be printed. But I don't know how? I saw this on the Web:

@media print {
  .interactive, #menu, #nav, .ads, .pictures {
    display:none;


Maybe bg_image?

Thanks for helping us on this significant matter; if it's too complicated, make it only for without the background.
c5mix replied on at Permalink Reply
c5mix
Just add this to your print stylesheet to have the background image not be displayed on print:
#backstretch { display:none; }
Styves replied on at Permalink Reply
Styves
Can I simply add this to the main.css in the "customize_miscellaneous" :

#backstretch { display:none; }


Note:
I don't know where I can find the backstretch in the CSS file. It seems that it's not there.

Thanks for helping me; dearly appreciate it.
c5mix replied on at Permalink Reply
c5mix
No, you cant add it like that to the main.css file. Ideally you would create a print.css stylesheet (like I referenced in the link above) and put it in there. If you dont want to do that you can try adding this to the end of the main.css file and see if that works:
@media print {
    #backstretch {
      display: none;
    }
}
Styves replied on at Permalink Reply
Styves
Ok.

How do I insert this line into the top of all my pages? :

<link rel="stylesheet" href="print.css" type="text/css" media="print" />
Styves replied on at Permalink Reply
Styves
Ok.

I created a print.css file with this line:
@media print {
    #backstretch {
      display: none;
    }
}


I inserted in the Properties/Personal Attributes/Header Extra Content:
<link rel="stylesheet" href="print.css" type="text/css" media="print" />


Am I right? Nothing seems to works. I cleared the cache and refreshed the page. ???
Styves replied on at Permalink Reply
Styves
Forget about it. Chris that creates the "Print Page" gave me an update of his add-on, and now it works; no more background when it print the page.
http://www.concrete5.org/marketplace/addons/print-page/...

Thanks.

concrete5 Environment Information

Browser User-Agent String

Hide Post Content

This will replace the post content with the message: "Content has been removed by an Administrator"

Hide Content

Request Refund

You have not specified a license for this support ticket. You must have a valid license assigned to a support ticket to request a refund.