I'm struggling to keep my footer at the bottom of all pages on my blog. I am facing two main issues. If I use position:absolute
, the footer ends up in the middle of the main blog page. Alternatively, when I don't use it, the footer sticks to the bottom but still moves up to the middle on other blog pages. Footers always give me a headache!
My current CSS styling for the footer is as follows:
footer {
text-align: left;
background-color: #f4f4f4;
padding-top: 40px;
padding-bottom: 40px;
z-index: 1;
bottom:0;
width:100%;
}
Here's the link to the page