• Resolved ksvs

    (@ksvs)


    Hi,

    This plugin is awesome! Just having problem with the custom css? Added the:

    .pdfprnt_pdf p {
    color: #798A9B;
    font-size: 14px;
    }
    .pdfprnt_pdf a {
    color: #798A9B;
    font-size: 14px;
    }
    .pdfprnt_pdf h1, .pdfprnt_pdf h2, .pdfprnt_pdf h3, .pdfprnt_pdf h4, .pdfprnt_pdf h5, .pdfprnt_pdf h6 {
    color: #798A9B;
    }

    – to the custom CSS section under output. But it’s not working. Also, if I click the “Load fonts” the plugin breaks down and won’t work?

    The page I need help with: [log in to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
  • Hi, I am having the exact same issue.

    I am going to follow this ticket, hopefully the plugin developer will have a solution for it!

    Plugin Author bestwebsoft

    (@bestwebsoft)

    Hi @ksvs and @jclondon,

    Thank you for contacting us!

    Follow the next instructions to add custom styles to PDF document:
    1) Open PDF&Print plugin settings page, “Output” tab;
    2) Enable “Custom CSS” checkbox and paste the next lines of code:

    
    p { 
        color: #798A9B; 
        font-size: 14px; 
    } 
    a { 
        color: #798A9B; 
        font-size: 14px; 
    } 
    h1, h2, h3, h4, h5, h6 { 
        color: #798A9B; 
    } 

    3) Check the result and let us know if that helps.

    Also, if I click the “Load fonts” the plugin breaks down and won’t work?

    Do you have any errors in browser developer console?

    Thread Starter ksvs

    (@ksvs)

    Hi,

    Thanks for the responce. Step 1+2 is working now.

    3) One error regarding “ddl-layouts” in the uploads folder. Does that have something to do with this plugin?

    • This reply was modified 4 years, 12 months ago by ksvs.
    Thread Starter ksvs

    (@ksvs)

    Just to be clear – is there a way to change the font in the pdf?

    • This reply was modified 4 years, 12 months ago by ksvs.
    Plugin Author bestwebsoft

    (@bestwebsoft)

    Hi @ksvs,

    Yes, you can change the font, but first, have a look at a list of all supported fonts – https://mpdf.github.io/fonts-languages/available-fonts-v6.html.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Custom CSS not working’ is closed to new replies.