This thread is over two years old and may be outdated. Please create a new thread if you need help, or email us if you have an active Premium license.

print.css don’t know how to manage

10 years ago · Last reply by Andrew Misplon 10 years ago

I followed some instruction that I find in threads and in wp codex to have a better print function of any page or post.
The problem is that I do not understand how to define which part of the page will have to be printed; particularly the navigation area, that it is placed in the middle of the printed page.
this is the code I used

/* Print Style Sheet */
@media print {
.noprint, #noprint { display: block; }
header nav, footer, #secondary { display: none; }
navigation { display: none; }
#primary { width: 100%; }
#body { background:white; color:black; margin:0 }
}

Any suggestion is welcome.

This is our free support forum. Replies can take several days.

Need fast email support? Get SiteOrigin Premium

Replies

1
  1. Andrew Misplon Staff 10 years, 8 months ago

    Hi Erapisardi

    Thanks for reaching out.

    Please give the following plugin a try: https://wordpress.org/plugins/wp-print/. I’ve used it in the past with good results.

    Let us know how you come along :)

Replies on this thread are closed.

Please create a new thread if you have a question, or purchase a SiteOrigin Premium license if you need one-on-one email support.

Have a different question or issue?

Start New Thread