How to set the default height and width of the embedded PDF?
  • 30 Jun 2022
  • 1 Minute zum Lesen
  • Mitwirkende
  • Dunkel
    Licht
  • pdf

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

  • Dunkel
    Licht
  • pdf

The content is currently unavailable in German. You are viewing the default English version.
Article Summary

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


War dieser Artikel hilfreich?