Hello I try to customize my print format to add a page background-image.
With a search in this forum I found this : WKHTMLtoPDF Styling - #32 by Nikesh_Bhansali
So I have added in custom CSS this rule
.print-format{
background-image: url('http://jimstrafficcontrol.com.au/wp-content/uploads/2016/08/Background-20.jpeg');
background-repeat: no-repeat;
background-position: bottom;
background-size: cover;
background-color: rgba(255, 255, 255, .2);
}
In HTML preview it’s OK but when I try pdf printing background is not set.
How could I set background-image in pdf ?