Balasan Ke: Menyesuaikan Teks Sertifikat

Balasan Ke: Menyesuaikan Teks Sertifikat

by

in

Plugin Support
Jasmine

(@hyenokian)

Dear @goodlogin,

Thanks for the topic.

The reason the position argument is being ignored is because the HTML you’re using is being rendered into a PDF file. Position arguments are typically only supported in browsers and are ignored in PDF generation.

As a workaround, you can place the element in the top right corner by adjusting the width and height of the empty cells of the table.

Here is the code:

<table style="width: 1000px; height: 700px; border-collapse: collapse;"><tr>
<!-- This empty cell acts as horizontal spacing (moves content to the right) -->
<td style="width: 350px;">&nbsp;</td> <!-- This cell contains the user name variable -->
<td style="font-size: 24px;">
%%user_name%%
</td>
</tr> <!-- This row creates vertical spacing (moves content down) -->
<tr style="height: 350px;">
<td colspan="2"></td>
</tr> </table>

Please check this and let us know about the outcome.

By the way, as the Certificate feature is available in the Pro version of the plugin, please contact us via this form for premium support and further discussion. Our customer care specialists will always be happy to help you.
Commercial products are not supported in these forums.

Thank you.

source


Comments

Leave a Reply

Your email address will not be published. Required fields are marked *

Discover more from Wordpress supported for Telkom University

Subscribe now to keep reading and get access to the full archive.

Continue reading