Are you sure you are thinking to the benefit of all visitors without making things complicated?
X3 already shows the footer always at the bottom. If the page content extends screen height, there will obviously be scroll. If the page content does NOT extend screen height, then the footer will be visible. In your case, you want to set the content height to always consume 100% of screen, so that there is always scroll, even if it's not required and half the content is empty? Doesn't seem logical.
tbp wrote:Another short question: Is there a way to maximize a page height so that the whole screen is used for the content and the footer is not visible until I scroll down? Let's say my page contains 80% content which will lead to the situation that only a fraction of the footer is visible without scrolling. I would like to "stretch" the page content to 100% of the screen height so that the footer only becomes visible if I scroll down.
It's possible to force the height of content to
100vh (100 viewport height). This would look strange of course, as it would force a scrollbar and scroll mechanism even for pages that don't require scroll. In this case, it will create a large empty space below the content, just to force the visitor to scroll ... How do they even know they should scroll?
tbp wrote:If so, can I include a "scroll down" button at the bottom of the page which is always visible so that I have access to the footer by clicking this button?
So, instead of displaying the footer directly even without scroll, the visitor needs to click a button to access the footer? Why would they want that and what's interesting for them in the footer?
I could provide some codes on request, but I can't provide any additional workarounds for this somewhat strange UI behavior which doesn't seem to benefit anyone.