MPDF - PDF CSS config for members card

  • Jamie Gilbert
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
3 years 5 months ago #150871 by Jamie Gilbert
MPDF - PDF CSS config for members card was created by Jamie Gilbert
Hi

I have installed the MPDF plugin and it seems to work ok, however as you say within this help the background image does not work correctly..

membershipprodoc.joomservices.com/plugins/mpdf

You examples are all for the invoicing.
<style> table.invoice-container { background-image: url(" domain.com/images/invoice_background.jpg "); }

Can you advise on what the container is for the cards?  Also another other help with the Styling, for example there seems to be a massive bottom margin currently and it "wraps" onto 2 pages when there is plenty of space at the bottom.

Thanks

Jamie

Please Log in or Create an account to join the conversation.

More
3 years 5 months ago #150882 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic MPDF - PDF CSS config for members card
Hi Jamie

The MPDF plugin is actually optional, you can use it or use the default TCPDF library for generating PDF

For member card, exactly what is the issue you are using? If it is needed, you can submit a support ticket so that we can check the issue directly on your site

Tuan

Please Log in or Create an account to join the conversation.

  • Jamie Gilbert
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
3 years 5 months ago #150883 by Jamie Gilbert
Replied by Jamie Gilbert on topic MPDF - PDF CSS config for members card
ok logging ticket, used the TCPDF library before, but MPDF seems better but comes with different issues.

Please Log in or Create an account to join the conversation.