• Resolved rebeccamantel

    (@rebeccamantel)


    I would like to make a border around the whole pdf including the header and the footer how could i do it? thank you for you absolutely amazing plugin!!!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter rebeccamantel

    (@rebeccamantel)

    I also have another problem when i click onstom CSS

    Use your enqueued theme and plugin CSS Adds wp_head() in PDF head
    I get
    Fatal error: __clone method called on non-object in /home/c2halach/public_html/wp-content/plugins/sitepress-multilingual-cms/sitepress.class.php on line 2958

    Plugin Author dinamiko

    (@dinamiko)

    Hi rebeccamantel,

    about adding a border to the whole page I tried to add css border to body but doesn’t work.
    maybe you can try to add CSS background-image or use any of CSS ideas in this page:
    https://mpdf.github.io/what-else-can-i-do/backgrounds-borders.html
    you can add CSS to the PDF using DK PDF Settings / PDF CSS Tab.

    about ‘Use your enqueued theme and plugin CSS option’, will be better not use it if you’re getting errors, it’s better that you just add CSS manually via DK PDF Settings / PDF CSS Tab. As I can see in your error, seems that there is a incompatibility problem with a multilanguage plugin (sitepress-multilingual-cms).

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Make a border around the all page’ is closed to new replies.