My site has 3 pages. The first two pages have enough content to scroll on a 15" Macbook, and the footer performs admirably by sticking to the bottom of the page. The third page, my support page, for some reason doesn’t do the same. The footer floats several pixels above the bottom of the page. The only difference as far as I can see is that the 3rd page doesn’t have enough content to be scrollable. The footer section, container, and content all have the same settings but maybe I’m missing something?
Your footer’s currently in position: relative, bottom
If you want it to always stick to the bottom, change it to position: absolute, bottom. Just click on the option on the right of the position absolute and it’ll work.
Hey @pulpandmills, thanks for the reply… unfortunately, that doesn’t work I changed it to absolute, bottom and it makes it work for the 3rd nonscrolling page, but it causes the footer to float up and overlap the content on the other two pages. Try it yourself, it breaks it.
Ah, I get it @Vexir.
Missed out on the fact that you do not have enough content to push the footer down to the base. So on a 27" screen, your footer is in the middle of nowhere. It stays below nicely when I viewed on a 13".
This issue has been discussed a number of times in the forum, and solutions varies based on what you’re looking for:
There’s got to be an actual solution out there! For one thing, the Flexbox based solution seems perfectly reasonable to me. I’m not sure why the sections don’t actually expand.
@stian not yet, thanks for picking this thread up!
I made the change you suggested for Supercontainer Div , but I’m unable to change the body section’s height to 100% because it’s greyed out and set to Auto, being a flex entity.
FWIW let’s use the Support & Feedback page to sync up on element names, since that is usually the smallest amount of content.