XWiki Page Footer

On XWiki Pages with little content, the XWiki footer (black bar with XWiki version) does not remain at the bottom of the browser page.

Is there a way to anchor the footer to the bottom of the browser page or make the page content fill the entire page regardless of the content length?

I’m sure you could do that with CSS. Check the HTML source and see https://www.xwiki.org/xwiki/bin/view/FAQ/How%20to%20integrate%20HTML%2C%20JS%20and%20CSS%20in%20XWiki for how to inject CSS.

I know, necrobumping old threads is not cool, but I’m really interested why this footer behaviour is Xwiki’s default. IMO a footer has to be at the bottom of the browser window/page at all times, it has no business in the middle of the screen and above that.

Yes, that is the default.

Personally, I don’t think it matters at all for those short pages.

However, should you wish to delve into the css needed to achieve the look you desire, consider the following information:

Hope that helps.

So I played with it a little to see if I could come up with something quick and easy, and what I’ve found is that by adding this css to my stylesheet, then for my particular browser, it achieves the effect, kinda of.

73 is a “magic number” that works for my single particular case.

#mainContentArea > .xcontent { min-height: 73vh; }

This may not work for all browsers or all environments. However, it might serve as a guide for how you can properly edit the CSS to achieve what you want.

(reference: CSS Units)