I'm trying to press the footer to the bottom of the screen, But so far I haven't been able to make it through CSS, how can I do it?
Example:
Add the following code to the end of file qa-styles.css
html, body { margin: 0; padding: 0; width: 100%; min-height: 100vh; } body { display: flex; flex-direction: column; align-items: stretch; } #qam-topbar, .qa-body-wrapper, .qam-footer-box { flex-shrink: 0; } .qam-main-nav-wrapper, .qa-body-wrapper { flex: 1 auto; }
html, body {
margin: 0;
padding: 0;
width: 100%;
min-height: 100vh;
}
body {
display: flex;
flex-direction: column;
align-items: stretch;
#qam-topbar, .qa-body-wrapper, .qam-footer-box {
flex-shrink: 0;
.qam-main-nav-wrapper, .qa-body-wrapper {
flex: 1 auto;
Welcome to the Q&A site for Question2Answer.
If you have a question about Q2A, please ask here, in English.
To report a bug, please create a new issue on Github or ask a question here with the bug tag.
If you just want to try Q2A, please use the demo site.