spo site chrome set
Set the chrome header and footer for the specified site
Usage
m365 spo site chrome set [options]
Options
-u, --siteUrl <siteUrl>URL of the site collection to which you want to change the chrome header/footer
--headerLayout [headerLayout]Header layout to set on the site. Options:
Standard|Compact|Minimal|Extended.--headerEmphasis [headerEmphasis]Header background to set on the site. Options:
Lightest|Light|Dark|Darkest.--logoAlignment [logoAlignment]Logo position when header layout set to
Extended. Ignored otherwise. Options:Left|Center|Right.--footerLayout [footerLayout]Footer layout to set on the site. Options:
Simple|Extended.--footerEmphasis [footerEmphasis]Footer background color to set. Options:
Lightest|Light|Dark|Darkest.--disableMegaMenu [disableMegaMenu]Set to
trueto disable the mega menu and tofalseto enable it. Disabling mega menu results in using the cascading navigation (classic experience). Options:true|false.--hideTitleInHeader [hideTitleInHeader]Set to
trueto hide the site title in the header and tofalseto show it. Options:true|false.--disableFooter [disableFooter]Set to
trueto disable the footer on the site and tofalseto enable it. Options:true|false.
-h, --help [help]Output usage information. Optionally, specify which section of command's help you want to see. Allowed values are
options,examples,remarks,permissions,response,full. Default isoptions.--query [query]JMESPath query string. See http://jmespath.org/ for more information and examples.
-o, --output [output]Output type.
json,text,csv,md,none. Defaultjson.--verboseRuns command with verbose logging.
--debugRuns command with debug logging.
Examples
Show site header in compact mode
m365 spo site chrome set --siteUrl https://contoso.sharepoint.com/sites/project-x --headerLayout Compact
Show site header in extended mode and display the logo on the right
m365 spo site chrome set --siteUrl https://contoso.sharepoint.com/sites/project-x --headerLayout Extended --logoAlignment Right
Disable the footer on the site
m365 spo site chrome set --siteUrl https://contoso.sharepoint.com/sites/project-x --disableFooter true
Response
The command won't return a response on success.