How to disable the Download Button for PDF preview

Modified on Thu, Jun 11, 2020 at 7:34 PM

For the Default PDF Viewer (As selected in the company settings); add this code to the custom css section for that COMPANY.


This can be found by going to company settings -> Bootstrap - > Custom Css

#aDownloadPDF {

display:None !important;
}


Note that this only removes the button on the Products Page. If you are using the pdf as the proof then each browser like chrome/firefox will have their own pdf buttons available that we cannot disable. Make sure to use the pdf security settings in the product setup to prevent editing and to add a watermark. 


To see your change you may need to shift reload to clear your cache.

---------- -------------------- ---------------- --------------- ---------------

If you are using the Alternate PDF Viewer which converts the PDF to an Image then you need to add the following code to PRODUCT BOOTSTRAP LAYOUT remove the download link from the Alternate Viewer.

 <span id="pdf-viewer-settings" data-show-download-button="0" data-color="#802020" data-toolbar-position="top" ></span>



Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article