• I am having an issue where when someone prints a page of my site, the printout also contains the content of the main nav menu. Obviously I do not want this to happen, I just want the page to print. An ideas on what has happened or how to fix it?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Perhaps the cleanest way would be to make a print.css file and use visibility:hidden; to omit the code you don’t need displayed. This option could give you great flexibility. One of the ways to target the style sheet would be like this:

    <link rel="alternate stylesheet" href="css/print.css" type="text/css" media="print" />

    Another alternative could be to add the code below to the bottom of your themes style.css. Add the class of .noPrint to the desired div, or visa versa.

    @media print {
    .noPrint {
        display:none;
    }
    }
    Thread Starter Guy (Wolfsong) Penrod

    (@bradfordg)

    Thank you Gerroald, I will give those a try! I appreciate your response. Cheers, ~Guy

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Navigation prints with page – unwanted’ is closed to new replies.