How to set the default height and width of the embedded PDF?
  • 30 Jun 2022
  • 1 Minuut om te lezen
  • Bijdragers
  • Donker
    Licht
  • Pdf

How to set the default height and width of the embedded PDF?

  • Donker
    Licht
  • 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

2_Screenshot-PDF_preview_resize_portal

  1. Go to SettingsKnowledge base siteCustom CSS & JavaScript, and Custom CSS tab is the default selection
  2. Paste the below CSS snippet in the window
object {
height: 600px !important;
width: 900px !important;
}
  1. Update the desired height and width as per your requirement
  2. Click Save

Outcome

1_Screenshot-PDF_preview_resize


Was dit artikel nuttig?