Hotfix: Sticky Footer

This commit is contained in:
Divlo 2019-12-28 21:33:09 +01:00
parent a3eda673a7
commit 0b6e2f9181
2 changed files with 10 additions and 5 deletions

View File

@ -15,7 +15,7 @@ body {
color: var(--text-color); color: var(--text-color);
font-family: 'Montserrat', 'Arial', sans-serif; font-family: 'Montserrat', 'Arial', sans-serif;
margin: 0 0 var(--footer-height); /* bottom = footer height */ margin: 0 0 var(--footer-height); /* bottom = footer height */
padding-top: 96px; /* Hauteur de la navbar */ padding-top: 94px; /* Hauteur de la navbar */
} }
.important { .important {
color: var(--important); color: var(--important);

View File

@ -1,8 +1,13 @@
<footer class="text-center"> <footer class="text-center">
<a href="#" class="scroll-top-arrow important"><i class="fas fa-arrow-up"></i></a> <div class="container-fluid">
<div class="container"> <!-- <a href="#" class="scroll-top-arrow important"><i class="fas fa-arrow-up"></i></a> -->
<div class="realDateTime">Affichage de l'heure en temps réel : <span class="important" id="realDateTime"></span></div> <div class="row">
<div class="footer-text"><a href="https://divlo.fr/" target="_blank">Divlo</a> | Tous droits réservés</div> <div class="col-12">
<a href="#" class="scroll-top-arrow important"><i class="fas fa-arrow-up"></i></a>
<div class="realDateTime">Affichage de l'heure en temps réel : <span class="important" id="realDateTime"></span></div>
<div class="footer-text"><a href="https://divlo.fr/" target="_blank">Divlo</a> | Tous droits réservés</div>
</div>
</div>
</div> </div>
</footer> </footer>