-
Print
-
DarkLight
-
PDF
How to set the default height and width of the embedded PDF?
Preview size of the PDF files in the article would vary for browsers. However, you can configure the desired height and width of the PDF file.
Solution
- Go to Settings → Knowledge base site → Custom CSS & JavaScript, and Custom CSS tab is the default selection
- Paste the below CSS snippet in the window
object {
height: 600px !important;
width: 900px !important;
}
- Update the desired height and width as per your requirement
- Click Save
Outcome
Was this article helpful?