You are here: Forum Home / RapidWeaver User Forum / Tips, Tricks and How Tos / Thread
What would the code be to print the page. Couple of things…
- My page is just a styled text page. (When in edit, thats what I want the “print” to be.)
- I am using Plasma Pro Theme.
I have the snippet of “print this page”.
How can I NOT print the Sidebar.
Thanks Robert
If you never want the sidebar to print, not on any page -
1) Crtl-click on Plasma Pro Theme and choose Show Contents
2) Open print.css and add this code:
#sidebarContainer { display: none; }
3) Save print.css
Flowerchild websites
Robert Plant - Tom Cruise - Richard Dean Anderson
Thank you! But, maybe I did something wrong?
- I opened cyberduck and checked (/public/rw_common/themes/plasmaspro) and there was the print.css and the code.
Here are pictures to show the situation. (thank you, again, this is a big help!)
My page in rapid weaver… (this is what I like to print like)

What the page looks like in Preview.

Safari’s Printing. I would like the printing to start at Experience the Presswood….

Thank you again.
Robert
Hi, where can I get this snippet? Seems to be useful. Can I use it for any page?
Thanks Nobby
@presswood,
Your post image page 3 shows the sidebar again. Be sure you empty the cache and clear history in Safari before looking at the new Print Preview. When I bring up your page in Safari and look at Print Preview, there is no sidebar display, so that’s good.
What’s still appearing is the top navigation and hidden search. Follow the steps above to open the print.css and change the code there to this:
#hiddensearch #sidebar2content, #container #navcontainer, #sidebarContainer { display: none; }
Hopefully that will do it. We’ll see.
Flowerchild websites
Robert Plant - Tom Cruise - Richard Dean Anderson
THANK YOU. I really appreciate your knowledge.
Robert
Hi, where can I get this snippet? Seems to be useful. Can I use it for any page?
Thanks Nobby
I found it in the Add-on section..
Here is the page link.
http://www.realmacsoftware.com/addons/snippets/print/
(Being able to not print headers, footers, containers… pretty cool!)
Robert
(I have it all on my site, if you would like a peek. http://www.presswood.com)
Thank you for the link!
Wishes
Norbert
Thank for the link, and to Henk for posting it.
I’m having some trouble with this. If I copy both Snippets to the bottom of the page in question, they both show up and on the live site when clicking on the image icon the print command is executed. The Non image one dows nothing.
If I try and paste only the image Snippet to the bottom of the page in question, noting shows up at all in Preview, and of course, nor does it on the live page.
What am I doing wrong?
I would just like to have a “Print” bottom at the bottom of the Schedule page right after the actual schedule, not part of the “®” and “Contact” line…
Cheers!
Anyone?
Also, the page prints with some funky lines on it…
http://www.in2insight.com/schedule
Has anyone been able to get this to print without the sidebars? I’m using the HV-Double theme. I tried tweaking the print.css file, but it made no difference.
Tim
Anyone?
Also, the page prints with some funky lines on it…
http://www.in2insight.com/scheduleHas anyone been able to get this to print without the sidebars? I’m using the HV-Double theme. I tried tweaking the print.css file, but it made no difference.
Tim
Henk resolved my issue with the HV-Double theme by providing a new print.css file. Outstanding, Henk!
I will be putting the print function on most of my pages. In the meantime, anyone wanting see an example of the print function without sidebars in HV-Double can see it here (scroll to bottom of page):
http://www.aviationdayton.com/places/wrightmemorial/wrightmemorial.html
Tim
Can you share where this new print.css is located?
The only ones I can find are the ones from 2007.
Cheers!
Anyone?
Also, the page prints with some funky lines on it…
http://www.in2insight.com/scheduleHas anyone been able to get this to print without the sidebars? I’m using the HV-Double theme. I tried tweaking the print.css file, but it made no difference.
Tim
Henk resolved my issue with the HV-Double theme by providing a new print.css file. Outstanding, Henk!
I will be putting the print function on most of my pages. In the meantime, anyone wanting see an example of the print function without sidebars in HV-Double can see it here (scroll to bottom of page):
http://www.aviationdayton.com/places/wrightmemorial/wrightmemorial.html
Tim
Can you share where this new print.css is located?
The only ones I can find are the ones from 2007.
Cheers!Anyone?
Also, the page prints with some funky lines on it…
http://www.in2insight.com/scheduleHas anyone been able to get this to print without the sidebars? I’m using the HV-Double theme. I tried tweaking the print.css file, but it made no difference.
Tim
Henk resolved my issue with the HV-Double theme by providing a new print.css file. Outstanding, Henk!
I will be putting the print function on most of my pages. In the meantime, anyone wanting see an example of the print function without sidebars in HV-Double can see it here (scroll to bottom of page):
http://www.aviationdayton.com/places/wrightmemorial/wrightmemorial.html
Tim
I might not have been very clear. I couldn’t figure out how to modify the print.css file for my HV-Double theme, so Henk sent me one customized for my needs. I deleted my old print.css file (after making a backup) and dropped the new file into the theme folder. To see how the print function works with the new print.css file in HV-Double, go to the bottom of this page:
http://www.aviationdayton.com/places/wrightmemorial/wrightmemorial.html
Tim