170
Views
3
Comments
Solved
[Ultimate PDF] How to add full page background image in every page?
ultimate-pdf
Reactive icon
Forge asset by Leonardo Fernandes
Application Type
Reactive

Hello, 

I tried to generate pdf with full page background image using component with fixed position, but its always cropped when i defined header, footer or margins. Is there any best way to have full page background image without affected by header, footer or margins?

2019-07-08 11-04-35
Leonardo Fernandes
 
MVP
Solution

Hi Natanael. The version 6.0.0 includes a new "Background" placeholder, where you can place an image that covers the entire background of the page (including the header, footer and margin areas).

UserImage.jpg
Eruel Castillo

Hello Leonardo,

Any idea on how to limit the background for just the first page only?

We need to attach a custom image on the first page only, but placing it in the header section won't work because of the margin. 

Cheers,

Wel

UserImage.jpg
joab bitencourt

Hello Natanael,

I had the same problem today, and i can solve out using a property:

background-position: top -100px

Because the first content have 100px minus that the second and using that property you can put the image with the right height and not will broken.


Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.