See this widget in action here.
The PDF Viewer Widget allows you to embed and display PDF documents directly on your site, offering an interactive and user-friendly viewing experience.
Activate the Widget
This widget is part of the aThemes Addons for Elementor plugin. To activate it:
- Navigate to the aThemes Addons dashboard in your WordPress admin area.
- Search for the PDF Viewer widget.
- Toggle the switch to activate it. The widget will now be available in the Elementor editor.
Widget Options
PDF Source
- Source Type: Choose between providing a URL or uploading a file.
- PDF URL: Enter the URL of the PDF file if hosted externally.
- PDF File: Upload a PDF file directly from your media library.
Viewer Settings
- Height: Define the height of the PDF viewer using units like
px
orvh
. - Width: Customize the viewer’s width in
px
,vw
, or percentages. - Alignment: Align the PDF viewer to the left, center, or right.
Performance Tip
Optimize your PDF file for better performance. Use online tools to compress and optimize PDF documents before uploading.
Conclusion
The PDF Viewer Widget is a versatile tool for showcasing documents directly on your website. Its customizable options ensure seamless integration with your site’s design and functionality.