Atahualpa 3.73 browser prints only content area ?
Hi,
when printing pages/posts from browsers, It only prints content and not sidebar and header? Is there a plugin that deals with this, or do I need to add something to style.css? Thanks Robx |
I leave how the printed page looks up to the user as there are browser extensions that can affect the printing and different themes handle things differently. In your case for instance what if someone only want the page content and you force them to print the whole thing?
Here, however, is an article that addresses this issue and MAY be helpful. |
Hi,
have recvd request to have browser(s) print sidebar, content and header. Tried your suggest link, but with no success. Would my css override css.php? I am using /* Print Style Sheet */ @media print { body { background:white; color:black; margin:0 } #header { display: block } #content { display: block } #comments { display: block } #sidebar { display: block } #footer { display: block } } with <link rel="stylesheet" type="text/css" media="print" href="<?php bloginfo('stylesheet_directory'); ?>/print.css" /> in header.php Any ideas ? Is there such a thing as a generic print.css that is suitable for Atahaulpa? Any feedback would be appreciated. Thanks RobX |
Juggledad found an answer... Try taking out the code you added to header.php and add the following to CSS Inserts. Tweak as necessary.
HTML Code:
@media print { |
Hi,
thanks for your help. Cannot get left sidebar to show in print preview. Per: http://www.bimskitchen.com/about-us/ also, when I go to print in Chrome, it pushes the text and image in content to the left ? When reload, it returns to normal? Cannot figure out why this would happen. Your assistance is much appreciated. Thanks RobX |
use this in the CSS inserts BUT BE WARNED you may not get what you think you should. Each column of the page may end on a new page (at least that's what happens on the MAC in Safari and Firefox) and in Safari, I have the option in the print dialogue to include the header and/or footer)
This is all controlled by the browser and operations system, not the website. a screen print is the way to go if you want the whole page... HTML Code:
/* ------------------------------------------------------------------ |
Hi Juggledad,
thanks for staying with me on this one. I have to give up. As you mentioned, columns are not positioning properly. Am using Chrome, Safari and Firefox with same problem on Mac snow leopard. Per previous issue re: http://www.bimskitchen.com/about-us/ When I got to print, it shifts the centre column to right? Never experienced anything like that before. Once printed, I need to reload page, to bring column(Content) back to correct position. Am wondering if you can take a look. Any ideas would be appreciated. Thanks RobX |
This is not really a theme issue. Go swap to twenty-eleven and do a print and you will see the sidebar gone - why, because sidebar information is not as important as the content.
go pick other themes and see, when you print 90% of themes will make the background white, the text black and get rid of the extraneous (sidebars) stuff |
All times are GMT -6. The time now is 08:02 AM. |
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.