Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

97
Visualizações
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 à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda