• Resolved Medi Dra

    (@samsam113)


    Hello,

    I need your help in two things :

    Remove the footer borders or at leat hide them with css. I created my own template but I don’t find how to remove them (Screenshot

    2- Is it possible to add an option (metabox) to post edition mode where the admin can choose a theme for that page?

    Please advise,

    Thank you.

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

Viewing 10 replies - 1 through 10 (of 10 total)
  • Plugin Author fkrauthan

    (@fkrauthan)

    Hello,

    Unfortunately it is not possible to remove the header or footer styling it comes from the used pdf library.

    And unfortunately it is not possible to change the template name at the moment on a per post setting. Feel free however to implement that feature and submit a merge request on github (https://github.com/fkrauthan/wp-mpdf) and I am happy to release your change as part of an update.

    Thanks,
    Florian

    Thread Starter Medi Dra

    (@samsam113)

    Hello,
    Thank you for your reply.
    the PDF library is mdpdf right? Because I can see a folder with that name in the plugin directory.

    If it’s the library in question, would you please guide me on how to remove those styling?

    Thank you

    Plugin Author fkrauthan

    (@fkrauthan)

    Yes it is correct that mpdf is the library. But its a third party library so I don’t know where in the codebase that would be unfortunately.

    • This reply was modified 4 years, 4 months ago by fkrauthan.
    Thread Starter Medi Dra

    (@samsam113)

    Ah ok I understand. I will try to find it and will keep you updated here.

    Thanks again for your support.

    Plugin Author fkrauthan

    (@fkrauthan)

    And in case you find an option that can be changed from outside feel free to create a merge request on github (https://github.com/fkrauthan/wp-mpdf) so it can be made available for all users.

    Thread Starter Medi Dra

    (@samsam113)

    Yes sure, I’ll updated it there.
    Thanks

    Thread Starter Medi Dra

    (@samsam113)

    Hello again,
    I just found another issue :
    I added this code to my theme page template to show the pdf button, it opens in a new tab but it doesn’t download the file when clicked.

    Is there anyway to solve this issue please?

    Thank you

    Plugin Author fkrauthan

    (@fkrauthan)

    What exactly do you mean? Does it just open the PDF in the new tab? Or do you see a blank page? If you see a blank page you need to check your PHP Error log.

    Thread Starter Medi Dra

    (@samsam113)

    When I click the button it opens in a new tab with my content in it.
    What I want is when I click the button, the file open in new tab AND is downloaded automatically.

    Plugin Author fkrauthan

    (@fkrauthan)

    Unfortunately that can’t be controlled.

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Remove footer borders + Choose theme from admin’ is closed to new replies.