How to set the default height and width of the embedded PDF?
- 30 Jun 2022
- 1 Minute à lire
-
Contributeurs
-
Impression
-
SombreLumière
-
PDF
How to set the default height and width of the embedded PDF?
- Mis à jour le 30 Jun 2022
- 1 Minute à lire
-
Contributeurs
-
Impression
-
SombreLumière
-
PDF
There is no French 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
Cet article vous a-t-il été utile ?