Skip to content
Discussion options

You must be logged in to vote

If you're talking about how we 'force' the footer to be at the bottom of the page even when the content is smaller than the viewport, we're actually doing that by increasing the content area using the min-height style:

<div id="quarto-content" 
  class="quarto-container page-columns page-rows-contents page-layout-article page-navbar" 
  style="min-height: calc(-120px + 100vh);">

We compute that styling using javascript (to determine the height of the footer), so you won't see it in the HTML source, but will see it in the computed HTML in the inspector.

HTH!

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@epatters
Comment options

@mcanouil
Comment options

Answer selected by dense-set
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
websites Issues creating websites
4 participants