From d2c9963796c397ca93b627f3924a269e5a74bfb7 Mon Sep 17 00:00:00 2001 From: Jonathan DeMasi Date: Sun, 8 Mar 2020 21:58:12 -0600 Subject: fucking footer --- jthanio/static/css/jthanio.css | 8 +++++++- jthanio/templates/base.html | 4 ++-- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/jthanio/static/css/jthanio.css b/jthanio/static/css/jthanio.css index a133c9d..ce3484b 100644 --- a/jthanio/static/css/jthanio.css +++ b/jthanio/static/css/jthanio.css @@ -12,8 +12,14 @@ html { position: relative; min-height: 100%; } + +#page-content { + min-height: 100vh; + margin-bottom: 60px; +} + .footer { - position: absolute; + position: static; width: 100%; bottom: 0; /* Set the fixed height of the footer here */ diff --git a/jthanio/templates/base.html b/jthanio/templates/base.html index 8e3a4ed..9870c59 100644 --- a/jthanio/templates/base.html +++ b/jthanio/templates/base.html @@ -30,13 +30,13 @@ {% wagtailuserbar %} - +
{% block content %}{% endblock %} {% block extra_js %} {# Override this in templates to add extra javascript #} {% endblock %} - +