Tag Archives: print page

css for Print web page

header.php
<link rel=”stylesheet” href=”<?php echo get_template_directory_uri(); ?>/css/print.css”
type=”text/css” media=”screen, print” />

print.css

@media print {

/* Avoid to display link on anchor tag */
a:link:after, a:visited:after {
content: “” !important;
}
}

%d bloggers like this: