Skip to content

Latest commit

 

History

History
57 lines (37 loc) · 3.03 KB

site-footer.md

File metadata and controls

57 lines (37 loc) · 3.03 KB
title description ms.date ms.localizationpriority
Overview of the SharePoint Site footer
SharePoint Site footers can be used to show a logo or set of links/labels in a modern SharePoint site. They can be configured using the UI settings or by using APIs.
09/24/2023
high

SharePoint Site Footer

Footers are a common branding / navigation control in websites and portals. SharePoint Communication sites will have an out-of-the box footer control, which can be controlled either using UI elements or by using APIs. This control supports following elements

  • 8 links or labels
  • Footer logo
  • Footer name

Important

Footer will be enabled by default for all new communication sites after the feature is rolled out. Along with this update, the content bar (also referred to as the “social bar”) - which contains the Like, Comment, View and Save for Later icons - will be docked permanently on top of the Comments section on all modern pages and news posts.

Footers don't appear in sites on mobile devices or apps.

Sample footer

Following picture demonstrates a footer with a logo, footer name and labels and links.

Image showing a site footer with a logo

Controlling footer rendering using code or PowerShell

You can control the footer existence with a FooterEnabled property in the Web object. Following PowerShell scripts shows how this can be done using PnP PowerShell cmdlets:

Connect-PnPOnline -Url "<SiteURL>" –Credentials (Get-Credential)
Set-PnPFooter -Enabled:$false # for disabling the footer
Set-PnPFooter -Enabled:$true # for enabling the footer

Note

Above PowerShell scripts assumes that you have already installed PnP PowerShell cmdlets for your environment and you are not using multi-factor authentication. You can install PnP PowerShell cmdlets to your computer by opening PowerShell console in administrative mode and executing following command: Install-Module PnP.PowerShell -Scope CurrentUser. If you are using multi-factor authentication, you can enable MFA login by updating the Connect-PnPOnline line as follows: Connect-PnPOnline -Url "<SiteURL>" -Interactive.

[!INCLUDE pnp-powershell]

Controlling footer using the user interface

Site owner can control the footer visibility using the Change the look functionality of the site, which exposes the different user interface configuration options.

Note

These options will be visible in the sites when the feature(s) are rolled out and released.

Change the look configuration options

Footer configuration has multiple different options, which can be configured based on the site objectives.

Footer UI configuration options

See also