So I have been reading loads of post regarding similar uses and have tried some custom codes but I cannot get rude of the white space under the footer on certain pages…
I know that there is not much content on my pages but:
1- how comes I am still able to scroll down?
2- how can I still force the footer?
Can anyone help? This is the last bit I need to do before launching this website!!!
Thank you so much for reaching out about the white space under your footer. I imagine that is not what you were expecting, but I’m happy to help!
Yeah, this can be a tricky layout fix when the content is sparse, but you can definitely take advantage of flexbox in this case.
The following steps were completed after I removed the custom code and removed the relative positioning on the footer element.
Next, I placed the page contents within a wrapper, added flexbox to the wrapper, and changed the settings of the wrapper to Vertical and Justify: Space Between:
These settings will push the footer to the bottom of the page when space is available.