Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

96
Views
Remove repeating header/footer in page when printing

I'm using position:fixed; bottom:0; in css to place my element at the bottom for every page when printing. here is my code:

@media print {
    .empty-footer {
    height: auto;
  }
  .page-footer {
    position: fixed !important;
    bottom: 5px !important;
    width: 100% !important;
    height: auto !important;
  }
}

now I want to Remove this element .page-footer at the last page. I tried, .page-footer:last-of-type {display:none} but it doesnt work, instead it removes all, because I'm guessing, when using position fixed. it displays it in all of my pages, but still having only 1 occurrence in the page.

CSS, or Javascript script fix will do. thanks in advance.

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!