We use cookies to make HubSpot's community a better place. Cookies help to provide a more personalized experience and relevant advertising for you, and web analytics for us. To learn more, and to see a full list of cookies we use, check out our Cookie Policy (baked goods not included).
Nov 4, 2022 1:57 AM
Is it possible to convert Quote PDF to Landscape , by default it takes A4. How to control PDF generation CSS ?
Nov 4, 2022 3:48 AM
Hi @SVenkatesan,
you should find in your quote theme the CSS file which handles everything. The html,body-tag should have a fixed width and height.
So if there's something like
@media print{
body{
width:21cm;
height:29.7cm;
}
}
and you want to have it landscape, just switch the values to
@media print{
body{
width:29.7cm;
height:21cm;
}
}
Note: if those values are inside a "@media print" tag, you won't see any changes in the web-view since your values will only be applied if somebody prints the page - in this case a quote is beeing generated
best,
Anton