PDF Button

A button to generate the PDF version of the current page or a specific portion.


The Basic Button settings, equal to the Button Widget in Elementor Free:

  • Type;
  • Text;
  • Alignment;
  • Size;
  • Icon;
  • Icon Position;
  • Icon Spacing;
  • Button ID;
  • All Styles.

With a little change on Link section:

  • Open in new window, open the link in a new tab;
  • Add nofollow, to avoid spider follow the link;
  • Force download, add the download attribute to the link anchor.


  • Title, title of the generated document in pdf. It's the name of the post by default;
  • Body, layout of the pdf to create. Based on the current post or fields and elements of a template created with Elementor.
    • Current Page, use the body of Current Page template, or a subset defined by the jQuery selector (use an ID or a unique class);
    • Template, use a custom Elementor Template, where you can use standard Widgets like Title, Content, Image, etc.
  • Page Size, format to be applied to the pdf document;
  • Page Orientation, vertical or horizontal;
  • Page Margin, margins of the pdf document;
  • Use Styles, styles to be applied to the pdf. The available options are: 
    • No style, pure hmtl for a simple and clear text with default format;
    • Only Elementor, will be used only Elementor native frontend css;
    • Elementor and current Theme, will combine Elementor native frontend css and current Theme style.
  • Converter, method ora library to be applied for conversion to pdf.The available options are: 
    • DomPDF, the most used and powerful,  support CSS2 and advanced Templates*;
    • TCPDF, very stable library, quickly but not support to latest CSS and structured template (works with tables)
    • Browser, the builtin Browser print to PDF, very powerful and configurable by the user

Although DomPDF is the method that allows the greatest potential in converting the various elements of a document into PDF, it is also subject to limitations in complex layout conversions, so it is advisable to adopt layouts that are not too elaborate.


If in PDF process generation you get this error (or similar):
PHP Parse error: syntax error, unexpected '?'
in /public_html/wp-content/plugins/dynamic-content-for-elementor/vendor/symfony/dom-crawler/Crawler.php on line 1170
Is because on your server is running a non updated version of PHP (7.0).
Upgrade to PHP >= 7.1
version will resolve the bug of the required library used to create the PDF.

Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.

Still need help? Contact Us Contact Us