If you go to my website: website you see the top black line that's the header. The bottom black line is the footer. The middle section is the content , in side the content I did columns. Now what I am trying to do is make the footer sticky to the bottom of the page without the scroller to appear. Then I am trying to make the columns go down to the footer. But not by changing the min height to higher. I want the columns to always go do to the footer. So that the column background will be all the way down to the footer.
Here is the pic of what i need picture
Here is my css and html
html,body {
height:100%;}
body {
font-family: 'Open Sans', Arial, Helvetica, sans-serif;
margin:0;
font-size: 15px;
font-weight: 400;
line-height: 157%;
color: #666666;
padding:0;
}
.content {
min-height: 0;
background-color: #9E959E;
height: calc(100% - 50px); /* add this */ }
.footer {
min-height: 25px;
margin-left: auto;
margin-right: auto;
background-color:#000000;
clear: both;
position:fixed;
right:0px;
left:0px;
bottom:0px;
}
.header {
min-height:300px;
background-color:#000000;
}
@media only screen and (min-width : 768px) {
.header {
min-height: 25px;
}
}
@media only screen and (min-width : 992px) {
.header {
min-height: 25px;
}
}
<body>
<div class="header">
</div> <div class="content">
<div class="page-content">
<div class="column_4"></div>
<div class="column_5"></div>
<div class="column_6"></div>
<div class="column_7"></div>
</div> </div>
<div class="footer">
</div> <div style="display:none">
</div></body>