Home › Forums › WoodMart support forum › Footer at the bottom even if page doesn’t have enough content
Footer at the bottom even if page doesn’t have enough content
- This topic has 10 replies, 3 voices, and was last updated 2 years, 5 months ago by
Elise Noromit.
-
AuthorPosts
-
October 1, 2022 at 5:51 pm #409738
mrtnzParticipantHi, how to do this? I have a page with only a couple of lines of content and I want the footer to be pushed to the bottom (see screenshot)
Attachments:
You must be logged in to view attached files.October 1, 2022 at 8:41 pm #409754
Elise NoromitMemberHello,
Please insert the site admin access into the Private content below the message area. We will take a closer look at the case.
Best Regards
October 2, 2022 at 3:42 pm #409793
leejay123ParticipantI get the same issue
October 2, 2022 at 4:52 pm #409798
mrtnzParticipantThe page with a problem is named “Nemokamas pristatymas”. Thank you!
October 3, 2022 at 3:31 am #409837
Elise NoromitMemberHello,
I am checking the page and I cannot catch the problem: https://gyazo.com/9b8fa7162128a200fc23bfa75181fade
What device and browser do you use to view the page?
Best Regard
October 3, 2022 at 10:28 am #409871
leejay123Participanti think this often happens when the website is shown on a large screen usually around 1920×1080 or zoomed out using the browser such as chrome , firefox etc. The issue doesn’t go away even if you set each top and bottom section to -40px
October 3, 2022 at 6:50 pm #410093
Elise NoromitMemberHello,
I have checked the site on 1920×1080. Most likely you zoom out and in. Please check the site on real devices and let us know if there are any problems. In addition, please inform the devise and browser you have faced the problem.
If you have any questions please feel free to contact us.
Best Regards
October 3, 2022 at 8:45 pm #410111
mrtnzParticipantDevice is win10 desktop pc, browser – chrome. I’m not zoomed in or out, it’s 100%. My screen resolution is 3440 x 1440 if that’s relevant. Checked on another browser on the same device and on another device with lower resolution – the same problem.
Attachments:
You must be logged in to view attached files.October 4, 2022 at 2:54 am #410161
Elise NoromitMemberHello,
This screen resolution is not common, and WoodMart design is based on default screen size.
Please add this code to the Theme Settings > Custom CSS > Global:
@media screen and (min-width:2000px){ body .main-page-wrapper { min-height: 83vh; } }
Best Regards
October 4, 2022 at 5:37 pm #410624
mrtnzParticipantThank you for the solution, but I’m afraid it doesn’t work. Now the footer is almost hidden. Is it possible to make the footer always fit to the exact bottom?
Attachments:
You must be logged in to view attached files.October 6, 2022 at 3:14 am #411125
Elise NoromitMemberHello,
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
-
AuthorPosts
- You must be logged in to create new topics. Login / Register