WordPress.org

Support

Support » Themes and Templates » Extra blank pages in Print Preview (using custom print.css)

Extra blank pages in Print Preview (using custom print.css)

  • Hi,

    I just started using a custom print.css page on one of my client’s websites, but for some reason, it’s still wanting to print several blank pages. If you visit this page and view it in the Print Preview menu, you’ll see what I mean: http://hallmarkofficefurniture.com/services/

    Here’s what I currently have in the print.css file:

    /* Links */
    a:link, a:visited {background: transparent; color:#333; text-decoration:none;}
    a:link[href^="http://"]:after, a[href^="http://"]:visited:after {content: " (" attr(href) ") "; font-size: 11px;}
    a[href^="http://"] {color:#000;} 
    
    /*Image*/
    img, img a, .more-link a {border:none;}
    
    /*Remove Element*/
    div .left, div.col-small, div.footer, div.header{display:none;}

    I’d like to get rid of not just the blank pages, but also the expand, previous, etc. code that is now displaying in the print version.

    Thank you very much for your help!

  • The topic ‘Extra blank pages in Print Preview (using custom print.css)’ is closed to new replies.
Skip to toolbar