I've been struggling to get my footer to stay at the bottom of the page based on content. I've tried several CSS techniques and strategies, but I'm still encountering one issue.
footer {
width: 100%;
padding: 25px 0 25px;
background: #1e1e1c;
position: absolute;
bottom: 0;
}
body, html {
font-family: 'sairaregular';
font-size: 100%;
margin:0;
padding:0;
height:100%;
}
When I apply this CSS for some content pages, it looks like they are located at the bottom. You can see an example here: https://i.sstatic.net/ShJ7B.png.
However, it's not truly at the end of the page; it just appears at the bottom when the page opens. Can anyone suggest a solution to fix this issue? Thank you in advance.