diff --git a/wowfunding/static/js/app.js b/wowfunding/static/js/app.js index c982c10..7982027 100644 --- a/wowfunding/static/js/app.js +++ b/wowfunding/static/js/app.js @@ -10,3 +10,9 @@ function hideShow(element_id) { x.style.display = "none"; } } + +function fix_anchors(){ + if(window.location.hash) { + scrollBy(0, -150) + } +} \ No newline at end of file diff --git a/wowfunding/templates/base.html b/wowfunding/templates/base.html index e8bca72..0110a1d 100644 --- a/wowfunding/templates/base.html +++ b/wowfunding/templates/base.html @@ -54,7 +54,7 @@ - + {% include 'navbar.html' %}