Need help? Check out our Support site, then


Printer friendly CSS only prints one page

  1. I found this CSS which creates printer friendly pages, but it only prints the first page of a blog post and we have many that are long and need printing. I'm not enough of a CSS expert to be able to debug it. Help?

    @media print {
    div#wrapper {
    width:100%;
    }

    div#wrapper * {
    width:auto;
    }

    div#header {
    display:none !important;
    margin:0;
    padding:0;
    }

    div#footer {
    display:none !important;
    margin:0;
    padding:0;
    }

    div.sidebar {
    display:none !important;
    margin:0;
    padding:0;
    }

    div.container {
    margin:0;
    padding:0;
    }

    .navigation {
    display:none;
    }

    #blog-title {
    display:none;
    }

    .comments {
    display:none;
    }

    Thanks!

  2. Guila

    You're gonna have to help me out a little here I'm afraid.

    There's no reference to wordpress.com in your main site although there are some urls in the source of the page. Is the whole site hosted at wordpress.com, just a blog or are you linking from the main site to the .com blog?

    Where are you trying to use this CSS? Within the .com blog or the main site?

    If you can answer these questions then we can see if we can help you. Thanks!

  3. It seems to me, although i could be wrong, that this bloggers blog at http://guila.wordpress.com may be set up for the purpose of driving traffic to the commercial site currently linked to the wordpress.com username which is http://www.guilamuir.com/
    The wordpress.com ToS section 2, bullet 5 dis-allows this. http://wordpress.com/tos/

  4. Absolutely, I wasn't going there just yet though! ;)

  5. Coward ... {snicker}

  6. Sorry. The blog is at http://guila.wordpress.com. I write regular articles and had been posting them on my main site, but it was always pretty involved to post the article, the printer-friendly version of the article, update the links in the menu, update the RSS file, etc. I felt that using a blog as a library for the articles was a good solution that automated much of what was being done manually. Is there some kind of problem with this?

  7. That, unfortunately you will have to ask the site administrators. We can't make policy or judgement calls in the forum.

  8. If the posts on the blog are just a duplicate of posts from elsewhere, staff has requested that you make the WordPress.com blog private. This ultimately helps your main site, because this way the WP.com blog cannot outrank it on search engines and thus take readers away from it.

  9. Well said raincoaster. Thanks for sharing these insights in a way we can all understand. :)

  10. You're welcome. As you know, I'm the queen of post pimping.

  11. The blog is private now.

    Trent

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags