I'm trying to setup a member card. But the generated PDF does not seem to respond to my inline styling for positioning my table.
I've tried with absolute position with top and left offset, but it doesn't work.
What kind of styling can we use, and does any documentation exists for what CSS can be used by the pdf generator?
Also, there seem to be a left, right and footer margin in the generated pdf. Can we adjust this?
It makes it hard to position the content where I like it.
EDIT: I can see the margins being set in the generateMemberCard and generatePlanMemberCard functions. It would be awesome, if we could set them from admin side, not having to dig into core code and hack it that way, thus making updates difficult.
Looking at the documentation, I was trying to figure our how to display the membership expiration date. It seems there is no tag for this. This is an important information to display on a membership card. Would it be possible to implement?
[SUBSCRIPTIONS] doesn't seem to work at all. But I just want [SUBSCRIPTION_END_DATE].
EDIT: Looking at the code for the generatePlanMemberCard function, I found I could use [PLAN_SUBSCRIPTION_TO_DATE] and [PLAN_SUBSCRIPTION_FROM_DATE].
Did you find a solution? I have the same kind of issue: I want to include a membership-card image in the automated email reply for new subscriptions, and then put some tags on fixed positions on that image (setting it as background).