Forum Discussion
How can I add the "title" (banner) / title area to an existing page?
If you are using latest version of PnP PowerShell, you can use below commands:
Connect-PnPOnline -Url https://tenant.sharepoint.com/sites/siteName -UseWebLogin
Set-PnPPage -Identity "MyPage" -LayoutType "Article"
For more information, check this article: SharePoint Online: Create a blank page without header & title
Please click Mark as Best Response & Like if my post helped you to solve your issue. This will help others to find the correct solution easily. It also closes the item. If the post was useful in other ways, please consider giving it Like.
ganeshsanap
The first command doesn't seem to exist for me, I also tried it in a PS in admin mode, but get the following error:
Connect-PnPOnline : The term 'Connect-PnPOnline' is not recognized as the name of a cmdlet, function, script file, or
operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try
again.Is that cmdlet to be installed?
Thanks
- ganeshsanapOct 04, 2022MVP
jens-haley You have to first install the PnP PowerShell module. Check below articles for more information:
Please click Mark as Best Response & Like if my post helped you to solve your issue. This will help others to find the correct solution easily. It also closes the item. If the post was useful in other ways, please consider giving it Like.