Viewing 4 replies - 1 through 4 (of 4 total)
  • mikey1

    (@mikey1)

    Hi there, you could always try printing as a .pdf file. I find this really useful, you can get a free copy of Do Pdf at this address.Basically its just a printer driver that you can select when you want a hard copy, to save as a file.
    https://www.dopdf.com/
    hope it helps.
    mike.

    Jeremy Clark

    (@jeremyclark13)

    That won’t really help because it will still be formatted as if it were being printed.

    erika you said you followed the directions but I didn’t see anywhere you had added the print sytle sheet. If you want to have your blog printed exactly like you see it on screen try this. In your header edit this

    <style media="screen" type="text/css">
    		@import url( https://www.ceconn.com/wp-content/themes/seashore-10/style.css );
    	</style>

    Change it to this.

    <link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>"
    type="text/css" media="screen, print" />

    Then in your stylesheet at the bottom. Add this.

    /* Print Style Sheet */
    @media print {
    copy all of your styles in between these brackets
    }

    Thread Starter erika_conn

    (@erika_conn)

    I think I gave you the wrong website. It should be
    https://tacp.ca
    Sorry. But, come to think of it, all my sites have the sane problem.

    Now, I will follow your instructions for tacp.ca

    Thread Starter erika_conn

    (@erika_conn)

    https://tacp.ca
    The following is my header:

    <!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Transitional//EN” “https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd”&gt;
    <html xmlns=”https://www.w3.org/1999/xhtml”&gt;
    <head profile=”https://gmpg.org/xfn/1″&gt;
    <title><?php bloginfo(‘name’); ?><?php wp_title(); ?></title>
    <meta http-equiv=”Content-Type” content=”text/html; charset=<?php bloginfo(‘charset’); ?>” />
    <meta name=”generator” content=”WordPress <?php bloginfo(‘version’); ?>” /> <!– leave this for stats please –>
    <style type=”text/css” media=”screen”>
    @import url( <?php bloginfo(‘stylesheet_url’); ?> );
    </style>
    <link rel=”alternate” type=”application/rss+xml” title=”RSS 2.0″ href=”<?php bloginfo(‘rss2_url’); ?>” />
    <link rel=”alternate” type=”text/xml” title=”RSS .92″ href=”<?php bloginfo(‘rss_url’); ?>” />
    <link rel=”alternate” type=”application/atom+xml” title=”Atom 0.3″ href=”<?php bloginfo(‘atom_url’); ?>” />

    <link rel=”pingback” href=”<?php bloginfo(‘pingback_url’); ?>” />
    <?php wp_get_archives(‘type=monthly&format=link’); ?>
    <?php //comments_popup_script(); // off by default ?>
    <?php wp_head(); ?>

    <link rel=”stylesheet” type=”text/css” media=”print”
    href=”<?php bloginfo(‘stylesheet_directory’); ?>/print.css” />

    </head>
    <body>
    <div id=”header”>
    <div id=”logo”>
    <h1>” title=”<?php bloginfo(‘name’); ?>”><?php bloginfo(‘name’); ?></h1>
    <h2><?php bloginfo(‘description’);?></h2>
    </div>
    <div id=”menu”>

      <li <?php if(is_home()){echo ‘class=”current_page_item”‘;}?>>” title=”Home”>Home
      <?php wp_list_pages(‘title_li=&depth=1’);?>

    </div>
    </div>
    <div id=”splash”></div>

    I do have a print.css stylesheet and here it is:
    /* Print Style Sheet */
    @media print {
    body { background:white; color:black; margin:0 }
    }
    #header {
    display:block
    }

    #functions {
    display:block
    }

    #single {
    display:block
    }

    #404 {
    display:block
    }

    page-links {
    display:block
    }

    #sidebar {
    display:block
    }

    #search {
    display:block
    }

    #page {
    display:block
    }

    #archives {
    display:block
    }

    #author {
    display:block
    }

    #page-archives {
    display:block
    }

    #comments {
    display:block
    }

    #footer {
    display:block
    }

    #index {
    display:block
    }

    #contact {
    display:block
    }

    OK, I thought I followed the instructions quite well but what you told me to put in Header, I can’t find what it is I’m supposed to change.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Printing Website’ is closed to new replies.