I have looked for add watermark.. and find a solution (certainly not best way) but work.
i have try to make a custom template helper but not luck.
Add in Pdf Template CSS field :
Add in any place on Pdf Template content :
if someone can have a more good solution .. hope
watermark is only printed in first page
i have try to make a custom template helper but not luck.
Add in Pdf Template CSS field :
PHP Code:
#watermark {
position: fixed;
top: 45%;
width: 100%;
text-align: center;
opacity: .1;
transform: rotate(45deg);
transform-origin: 45% 45%;
z-index: 1;
font-size: 80;
}
PHP Code:
<div id="watermark">
CONFIDENTIAL
</div>
watermark is only printed in first page
Comment