Forum Discussion
How can I add the "title" (banner) / title area to an existing page?
Ozlem DayanBoyce Mike Williams ,
I think you have copied the "Home" page of site to create a new page as mentioned by jens-haley similar to the steps mentioned in this article: SharePoint Online: Create a blank page without header & title
In that case, page will not have any header and title. To bring back the header and title settings, you can use below PnP PowerShell:
Connect-PnPOnline -Url https://tenant.sharepoint.com/sites/siteName -UseWebLogin
Set-PnPClientSidePage -Identity "MyPage.aspx" -LayoutType "Article"
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.
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.
- jens-haleyOct 04, 2022Copper Contributor
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.