Page 1 of 1

experience when printing with PDFGenerator

Posted: Tue May 09, 2023 2:46 am
by wesmccane
Hi, I just want to print the content of a page, no title, no menu but don't know how to do it? Can anyone guide me?

Re: experience when printing with PDFGenerator

Posted: Tue May 09, 2023 1:54 pm
by DIGI3
I'm not too familiar with the module, but typically you would do this with css:

@media print {
.no-print {display: none;}
}

Then add the no-print class to whatever you want hidden. You can also do the opposite, set * to display:none then add a .printable class to display:block.