31
Views
3
Comments
[Ultimate PDF] UltimatePDF - Fixed Element in the end of PDF
ultimate-pdf
Reactive icon
Forge asset by Leonardo Fernandes

Is there any way for me to fix a container at the end of a PDF, regardless of how many pages are generated? 

2023-12-30 18-11-05
Vincent Van Schaik

Use the Widget Tree view if you're having trouble placing a Container exactly where you want. 

The Widget Tree gives you a hierarchical view of every widget present on a screen. 

In your case, place the container just above the Footer container.

Example:

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

Hi Nhojimar.

With Ultimate PDF version 11.0.0, it's now possible to place a container at the bottom of the last page of the PDF.

For that, all you need to do is use flex-grow: 1 on a container before the last container inside MainContent. That container will grow until there's no leftover space available in the page, thus pushing the last block to the bottom of the last page.

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

The solution above no longer works, but on 11.0.1 there's a new placeholder called BottomContent, and content placed inside of it will render at the bottom of the last page.

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