У меня проблема с нижним колонтитулом только на какой-то странице. На главной странице у меня есть это: https://i.stack.imgur.com/itndn.png
На многих других страницах у меня есть это: https://i.stack.imgur.com/nzzQd.jpg
i не знаю, почему только на главной странице работает нижний колонтитул. Это код: main.hbs
<!DOCTYPE html>
<html lang="it">
<head>
<meta charset="UTF-8">
<title>Blocco Note</title>
<!-- LINK -->
<link rel="stylesheet" href="https://bootswatch.com/4/cosmo/bootstrap.min.css">
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.5.0/css/all.css" integrity="sha384-B4dIYHKNBt8Bc12p+WXckhzcICo0wtJAoU8YZTY5qE0Id1GSseTk6S+L3BlXeVIU" crossorigin="anonymous">
<link rel="stylesheet" href="/css/main.css">
</head>
<body>
{{> navigation }}
<main class="container p-5">
{{> messages }}
{{> errors }}
{{{ body }}}
</main>
{{> footer }}
<!-- SCRIPT -->
<script src="https://code.jquery.com/jquery-3.3.1.slim.min.js" integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.3/umd/popper.min.js" integrity="sha384-ZMP7rVo3mIykV+2+9J3UJ46jBk0WLaUAdn689aCwoqbBJiSnjAK/l8WvCWPIPm49" crossorigin="anonymous"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/js/bootstrap.min.js" integrity="sha384-ChfqqxuZUCnJSK3+MXmPNIyE6ZbWh2IMqE241rYiqJxyMiZ6OW/JmZQ5stwEULTy" crossorigin="anonymous"></script>
<script language="javascript"> function emailCurrentPage() { window.location.href = "mailto:?subject=" + document.title + "&body=" + encodeURI(document.location); }</script>
</body>
</html>
main. css
body {
background: #4DB6FA;
background: -webkit-linear-gradient(to right, #25A7FD, #4DB6FA);
background: linear-gradient(to right, #25A7FD, #4DB6FA);
}
.logo {
width: 50%;
}
.footer {
position: relative;
width: 100%;
background-color: #2780E3;
color: white;
}
.btn {
border-radius: 8px;
}
.jumbotron {
border-radius: 8px;
box-shadow: 0px 0px 2px 0px grey;
}
#about .display-4 {
text-align: center;
margin-bottom: 30px;
}
#about .col-4 {
background: white;
box-shadow: 1px 1px 1px grey;
border-radius: 8px;
}
.card {
border-radius: 8px;
box-shadow: 0px 0px 2px 0px grey;
margin-bottom: 10px;
}
.card-text {
border-radius: 8px;
box-shadow: 0px 0px 1px 0px grey;
text-align: center;
}
.card-header {
border-radius: 8px;
box-shadow: 0px 0px 2px 0px grey;
margin-bottom: 10px;
text-align: center;
font-weight: bold;
}
.alert {
border-radius: 8px;
}
footer.hbs
<div class="footer text-center py-3">© 2020 Copyright: Blocco Note</div>
Почему у меня такая проблема? Я попытался установить положение: относительное, снизу: 0px, слева: 0px, очистить: оба, но не сработало.