Print to PDF Issues & Suggestions

Hello,

I’m not sure if this is the correct location for this post. If not, please direct me to the right place and I’ll instead post there. I’ve googled for a possible solution and couldn’t find one so I’ll try to ask here.

We have a EULA page and a customer tried to print to pdf, but the header appears on every page and cuts off some of the content so the pdf isn’t useful to the user. We can provide a PDF to the customer, but we’re wondering if anyone has suggestions on how we can make the print to pdf option functional for this page.

The link to the page: Dissolve | A Message to Our Community.

So far I believe the header is part of the issue, but I’m hesitent to modify it as it is a global element. Another issue is that the page is contained as a single paragraph so that may be the issue here and should have been broken into indivdual elements/paragraphs rather than just a single paragraph. The designer who made the page isn’t around anymore so I’m able to check to see they have done it this way. Perhaps it was easier to style compared to individual elements. I’m not sure.

You can control the look of your website when it’s printed out using a print media query in your css.

In your case I’d go with something like:

 print {
.header-container-wrapper, .footer-container-wrapper, .hubspot-messages-iframe-container {
 display:none;
}
#hubspot-messages-iframe-container iframe {
 opacity:0;
 } 
}

Barry Grennan

Freelance HubSpot CMS Developer

Website | Contact | LinkedIn