Services Plugins FAQs

PDF converter - use desktop version on mobile

Hi ! I developed a website that allows people to create and download their CV. The mobile and desktop versions are quite different though. The pdf generated on the mobile version is awful, but I cannot change the layout as it would not be mobile friendly anymore. Is there a way to generate the pdf based on the desktop version even on the mobile one ?
Thank you.

Hello, @alexia.
Thanks for reaching out.

I’m afraid it is not possible to set the plugin automatically to adjust the ConverttoPDF action properties to the mobile view, as per the fact this plugin is more desktop-oriented. Apologies for the inconvenience.

But I can suggest you try one workaround. The point of this workaround is to set the additional workflow and element for viewing/converting to PDF on mob devise.

  1. create a popup/group where you will place the content you want to create to PDF from a mob device - set its width/height and design for proper displaying on mob devices;
  2. add button that triggers the convert to PDF action and set the condition to it, to make it visible only on mob devices (optional) - add the condition this element is visible only when the Current page width ≤ 420 (for example) https://prnt.sc/w0mmm5;
    3 in the ConverttoPDF action use the Format: Custom Format and in the Custom Format field indicate the width/height of the mobile view group that you want to convert https://prnt.sc/w0mn9d.

This schematic example should help you achieve your goal. I hope it helps.
Take care :slightly_smiling_face: