Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

103
Vistas
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
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda