function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Loran SagguLoran Saggu 

sticky footer in community (digital experience)

Is there no clean way to make the Template Footer in the Experience Builder stick to the bottom of the viewport on pages with little content?

Specifically, I am looking for a solution to the following requirements:
  • If the page does not have enough content to fill the height of the viewport, the footer should "stick" to the bottom of the viewport
  • If the page has enough content to fill the entire viewport, the footer should come after the main content - the footer should not overlap the content of the page.
  • The content is not a fixed height - the footer may change height depending on the display format (desktop, phone, etc.)
I have already reviewed and tested a number of suggested solutions, but these are not ideal as they cause the footer to overlap content, or they require the footer to be a fixed height:
  • https://salesforce.stackexchange.com/questions/237281/how-to-make-sticky-footer-in-lightning-community
  • https://trailhead.salesforce.com/trailblazer-community/feed/0D54S00000A8lspSAB