As far as I can tell, when creating a custom quote (and perhaps a stand quote too), you the quote will be produced as an A4 portait page (Web and PDF).
Is there any way to:
1) Change from portait to landscape, and
2) Change the page size form A4 to A3 (including in the PDF download)
This you can do with CSS. you could quite literally rotate the content of the page in the print stylesheet. Be sure to keep within the dimensions of the page.
2) Change the page size form A4 to A3 (including in the PDF download)
When printing from the browser the user printing actually can change the paper size and orientation in the browser's print UI. By default the content of the page will adjust responsively to stay within the confines of the page.
This CSS is as I noted experimental and not all web browsers may not support it yet. I can't garuntee compatibility with the HubSpot PDF download functionality but when using the browsers print functionality It should work in Google Chrome, Edge, and Opera.
I'll relay to the team though that there is interest in supporting control over the paper size and orientation in the HubSpot PDF generation.
Were you able to find a fix for this? I am seeing the exact same thing with a gap of space below a header div set to 8.5 x 11 inches.
When I print a pdf from the page it is correct but the downloaded file is set to A4. Could someone from HubSpot explain how the download feature works behind the scenes? Is it processing the file using a stylesheet that is unable to override?
in base.html I see a link to shared.css with this code. I tried to delete and override this but no change.
@media print {
html, body {
/* A4 paper width and height */
width: 210mm;
height: 297mm;
}
}