Footer Not Staying At Bottom (Code from Previous Forum Post Doesn't Work)
This support request was posted in Flatbase by jayecarter
- jayecarter August 24, 2016 at 9:07 pm
Hi there,
I can’t seem to get the footer to stay at the bottom of the page. I tried the code below from a previous post, but it only worked for my home page. See sample page below for reference.
#footer {
position: absolute;
right: 0;
bottom: 0;
left: 0;
}body.admin-bar #footer {
margin-bottom: -32px;
}Sample Page: http://support.digitalbeef.com/article/pairing-your-allflex-lpr-pocket-reader/
Juanfra Aldasoro August 25, 2016 at 1:31 pmHi,
Thank you for writing. I hope you are doing well.
The code our support colleague gave on one topic was for specific purposes, when the content wasn’t enough to complete the page. That means, that was for a specific case and that it won’t work in all cases. It only work in cases the content is not enough to fill the whole space.
But in other cases, like the page you’ve sent, it will break the layout.
Best,
Juan.jayecarter August 25, 2016 at 1:43 pmHi Juan,
In that case could you please provide code to help keep the footer at the bottom of the page for my specific case?
Thanks!
Juanfra Aldasoro August 25, 2016 at 2:26 pmHi,
Thank you for the follow up.
The thing is that for the particular case of the page you’ve sent, the solution would be not including the code you’ve used at first (the one you copied from another forum topic), in which I explained why is that the code was only for some particular cases.
For the rest, the more common scenarios the best solution is using the theme as it comes.
Best,
Juan.
You must be logged in to reply to this topic.