How to set the default height and width of the embedded PDF?
- 30 Jun 2022
- 1 Minuut om te lezen
-
Bijdragers
-
Afdrukken
-
DonkerLicht
-
Pdf
How to set the default height and width of the embedded PDF?
- Bijgewerkt op 30 Jun 2022
- 1 Minuut om te lezen
-
Bijdragers
-
Afdrukken
-
DonkerLicht
-
Pdf
There is no Dutch content available for this article, You are viewing the fallback version (English).
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 dit artikel nuttig?