Forum


Replies: 11   Views: 2302
Setting margins with drupal plugin
Topic closed:
Please note this is an old forum thread. Information in this post may be out-to-date and/or erroneous.
Every phpdocx version includes new features and improvements. Previously unsupported features may have been added to newer releases, or past issues may have been corrected.
We encourage you to download the current phpdocx version and check the Documentation available.

Posted by gmakstutis  · 22-05-2019 - 11:13

You folks are the best!!!

I've got it working, thanks to you.

A few tips for anyone else trying to do something similar.

I have had best results by adding: 

<phpdocx_modifypagelayout data-paperType="A4" data-marginTop="850" data-marginRight="1077" data-marginBottom="850" data-marginLeft="1077" />

to the top of the node.html.twig (adjusting for whatever page size and margins you need).