Archived topic
page height problem
3 replies · Started by johnaps on December 17, 2020
hello in pages like the bellow or on 404 pages the foooter isnt at the bottom and my page looks weird...
https://sofianos-orthopedika.gr/texniki-upostiriksi-sofianos-orthopedika/
is there any css fix for that?
Hi there,
you can try the CSS here:
https://generatepress.com/forums/topic/cant-get-menu-nav-or-footer-to-be-sticky/#post-1232453
But you will need to check your site carefully as on certain layouts this may cause issues.
i just found this by an old reply of Tom!
Maybe this works better?
@media (min-width: 769px) {
#page {
min-height: calc(100vh - 400px); /* 400px is the approx. height of your header and footer. */
}
Both options should work.
Have you tried it and check your site carefully as David suggested?