23
Views
2
Comments
[Ultimate PDF] Footer/header position change from page to page
ultimate-pdf
Reactive icon
Forge component by Leonardo Fernandes

Hello everyone, 

I have a problem with UltimatePDF. I'm using the latest version of it and I'm using both the header and footer. 

However, with each subsequent page, the footer position shifts by 1cm. I have set a margin of 2.5cm to all side, so on page 2, there's a 3.5cm gap to the page bottom, and on page 3, it's 4.5cm, and so on. 

Do you have any idea what could be causing this? I'm slowly getting desperate. 

Additionally, the header ends up on page 3 at the end of page 2 due to this issue. 

Thank you in advance and best regards, 

Derek

Hi DerekOF,

Please write some css to set the position to fixed and make sure your container use that class in header and footer. 

.PageFooter {  

  position: fixed;   

 bottom: 0px;

}

.PageHeader{

Position:fixed; 

top:0px;

}

Thanks

Ruchi

Hi Derek. Did Ruchi's suggestion fix your problem?

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