Home › Forums › WoodMart support forum › Footer at the bottom even if page doesn’t have enough content › Reply To: Footer at the bottom even if page doesn’t have enough content
October 6, 2022 at 3:14 am
#411125
Elise Noromit
Member
Hello,
Unfortunately, it is not possible to do with one solution only.
Please remove the code I provided and try this code with this one:
:root {
--custom-header-height: 157px;
--custom-footer-height: 63px;
}
@media (min-width: 1024px){
body .main-page-wrapper {
min-height: calc(100vh - var(--wd-admin-bar-h) - var(--custom-header-height) - var(--custom-footer-height));
}
}
If you change the header and or footer height, you will need to correct the code accordingly.
Best Regards