Commit fb206b33 authored by Olga Brani's avatar Olga Brani

Keep footer fixed to bottom in all pages

parent bd623846
......@@ -7,7 +7,7 @@
{% include header.html %}
<div class="main">
<div class="main js-main">
{{ content }}
</div>
......
......@@ -4,7 +4,7 @@ social: true
footer: true
---
<div class="homepage main js-main">
<div class="homepage">
<div class="row">
<h1>Open source cloud software<br>Free, scalable, production ready</h1>
<ul class="circles">
......
function toogleFooterClass(){
function toggleFooterClass(){
var topNavH = parseInt($('.js-top-nav').height());
var mainH = parseInt($('.js-main').outerHeight());
var windowH = parseInt($(window).height());
......@@ -52,12 +52,12 @@ $(document).ready( function() {
$(this).parents('.top-bar').toggleClass('expanded');
})
toogleFooterClass();
toggleFooterClass();
})
$(window).resize(function() {
toogleFooterClass();
toggleFooterClass();
$('.set-height').each( function(){
setPlayerHeight($(this));
});
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment