# Quote PDF - Potrait to Landscape Conversion

**URL:** <https://community.hubspot.com/t/quote-pdf-potrait-to-landscape-conversion/68558>\
**Category:** CMS Development\
**Created:** [November 4, 2022, 5:57am UTC](https://community.hubspot.com/t/quote-pdf-potrait-to-landscape-conversion/68558 "2022-11-04T05:57:56Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![SVenkatesan](https://avatars.discourse-cdn.com/v4/letter/s/c77e96/32.png) [@SVenkatesan](https://community.hubspot.com/u/SVenkatesan)\
**Post date:** [November 4, 2022, 5:57am UTC](https://community.hubspot.com/t/quote-pdf-potrait-to-landscape-conversion/68558/1 "2022-11-04T05:57:56Z")

</div>

Is it possible to convert Quote PDF to Landscape , by default it takes A4. How to control PDF generation CSS ?

---

<div class="post-metadata">

**Author:** ![Anton](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/anton/32/103167_2.png) [@Anton](https://community.hubspot.com/u/Anton)\
**Post date:** [November 4, 2022, 7:48am UTC](https://community.hubspot.com/t/quote-pdf-potrait-to-landscape-conversion/68558/2 "2022-11-04T07:48:26Z")

</div>

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

```lia-code-sample
@media print{
body{
width:21cm;
height:29.7cm;
}
}

```

and you want to have it landscape, just switch the values to

```lia-code-sample
@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
