1
Hello, I would like to know how to make a div follow the scroll bar of the screen and when you arrive at the end of the screen it is positioned below the footer and when you press the close button, it disappears and the footer is positioned right as well as this link: https://gestao.vitta.me/
I tried anyway and I couldn’t.
I’ll send you my code for now.
<style type="text/css">
.rodape {
background-color: #00BFFF;
text-align: center;
font-size:8pt;
font-family: Verdana;
font-weight:bold;
width:100%;
position:fixed;
bottom:0px;
left:0px;
}
</style>
<!-- footer 1 -->
<footer id="footer" style="background-color:#00CFA0;">
<div class="container" style="padding:20px;">
<div class="row">
<div class="col-sm-6 col-xs-12">
<div class="row">
<table>
<tr>
<td style="text-align:center;">
<img style="width: 150px; height: 125px; margin-left:20px;text-align: center;" src="assets/img/footerbranco.png" alt="Software médico para consultórios" title="Software médico para consultórios" id="footerLogo" class="mb-small">
</div>
</td>
<td class="d-none d-sm-block">
<div style="text-align:left;color:#fff;margin-left:35px;">
<p><strong>TISAÚDE TECNOLOGIAS INTELIGENTES LTDA</strong>
<br>CNPJ. 24.932.304/0001-55</p>
<p>Rua da Guia, 217
<br>Recife Antigo, Recife, PE
<br>CEP: 50030-210 </p>
</div>
</td> </tr> </table>
</div>
</div>
<div class="hidden-xs col-sm-6 col-xs-12">
<div class="footerInfo" style="text-align: center;color:#fff;">
<br>
<strong>
Baixe agora o aplicativo 'Clínica Digital'
</strong>
<br>
<br>
<a style="color:#fff;" href="https://itunes.apple.com/br/app/paciente-tisaude/id1227357722?l=en&mt=8" target="_blank" class="btn btn-translate--hover"> <i class="fab fa-apple "></i>
<span class="btn-inner--text ">Baixar na</span>
<span class="btn-inner--brand ">App Store</span>
</a>
<a style="color:#fff;" href="https://play.google.com/store/apps/details?id=com.tisaude.pacientes&hl=pt_BR" target="_blank" class="btn btn-translate--hover">
<i class="fab fa-google-play "></i>
<span class="btn-inner--text ">Baixar no</span>
<span class="btn-inner--brand ">Play Store</span>
</a>
</div>
</div>
</div>
</div>
</div>
</footer>
<!-- footer 2 -->
<footer id="footer" class="hidden-xs" style="background-color:#009976;height: 60px;color: #FFF;">
<div class="container align-items-center">
<div class="row">
<div class="col-12 col-sm-9 " style="margin-top:20px;">
<div class="copyRightText">
<div class="row">
<div class="col-xs-6" style="margin-left:20px;">
Copyright © TISAÚDE 2018
</div>
<div class="col-xs-3 d-none d-sm-block" style="margin-left:40px;">
<a href="https://www.tisaude.com/termosdeusopaciente" class="text-white">Termos de Uso</a>
</div>
<div class="col-xs-3" style="margin-left:40px;">
<a href="https://www.tisaude.com/contato" class="text-white">Fale conosco</a>
</div>
</div>
</div>
</div>
<div class="col-sm-3 hidden-xs pull-right d-none d-sm-block" style="margin-top:20px;">
<span style="margin-left: 20px;"><a href="https://www.facebook.com/tisaudebrasil" target="_blank" class="text-white"><i class="fab fa-facebook-f" aria-hidden="true" style="color: white;"></i></a></span>
<span style="margin-left: 20px;"><a href="https://www.instagram.com/tisaudebrasil" target="_blank" class="text-white"><i class="fab fa-instagram" aria-hidden="true" style="color: white;"></i></a></span>
<span style="margin-left: 20px;"><a href="https://www.twitter.com/tisaudebrasil" target="_blank" class="text-white"><i class="fab fa-twitter" aria-hidden="true" style="color: white;"></i></a></span>
<span style="margin-left: 20px;"><a href="https://www.linkedin.com/tisaudebrasil" target="_blank" class="text-white"><i class="fab fa-linkedin" aria-hidden="true" style="color: white;"></i></a></span>
</div>
</div>
</div>
</footer>
<!-- footer 3 (que é o que ta ficando por cima do footer 2 e eu quero que ele fique embaixo dele quando chegar no final) -->
<footer class="rodape" id="footer" style="background-color:#00CFA0;">
<div class="container align-items-center">
<h1>rodape</h1>
</div>
</footer>
I don’t understand... you have three
<footer>
all with theid="footer"
and wants when the roll reaches the end the third is fixed?– Leandro Angelo