Support » Plugin: Gravity PDF » background image is not reduced to A4 size

  • Resolved witec

    (@witec)


    hello,

    I have added a background image in the pdf document but the image size is too large. The Background image is displayed. The image is not reduced to the A4 size. I have tried many things (<div style=”…” background-repeat: no-repeat; background-size: auto 100%) and so on but I did not get it. Need I to change in ohter files something too that it works?

    Now i use this command:

    <style>
    @page {
    background: url(<?php echo PDF_PLUGIN_DIR; ?>resources/images/edelmetallabo.png);

    }
    </style>

    thanks,
    Artur

    https://wordpress.org/plugins/gravity-forms-pdf-extended/

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘background image is not reduced to A4 size’ is closed to new replies.