Feb 04 2018 06:02 PM
One of our staff members has managed to remove the page title as well as the white space that is normally taken up when you delete the page title.
It is also unavailable when editing the page.
I am unable to replicate, does anyone know how they have achieved this? Because we would love to do this on other pages.
Thanks!
Feb 04 2018 06:23 PM
This looks like a home page. Which doesn't have the banner anyway. So you can just copy that page to another page.
To do that go into site content, tick the page, then use copy to, and select the current location. Then rename the page and edit as required.
Feb 04 2018 06:25 PM
Feb 04 2018 06:25 PM
Feb 04 2018 06:29 PM
Feb 04 2018 06:29 PM
The new on the page, also allows you to copy.
Feb 04 2018 07:00 PM
Feb 04 2018 07:09 PM
It might be possible to use SharePoint Designer to do it. Open the page there in html view. Copy the content and paste into a newly created page.
I think I saw someone post how to do this on one of the blog posts a while ago. Sorry not sure as all my site now are created from the SharePoint page with Create Site.
Feb 04 2018 11:01 PM
Feb 05 2018 07:28 PM
Feb 05 2018 11:06 PM
Feb 06 2018 10:59 AM
Good call ...
Feb 19 2019 12:26 AM - edited Feb 19 2019 12:28 AM
@Andrew Silcock @Deleted @Juan Carlos González Martín
Change the page layout to home from article by editing it SharePoint Designer.
You may contact me any SharePoint related development at savan12791@gmail.com
Thanks
Apr 17 2019 11:33 AM
@SavanGuptaThanks! This worked for me. I just wanted to remove the white space left by removing the title.
Sep 14 2020 07:54 AM
@SavanGupta Thank you. I am just looking to hide title on the banner, i donot want to remove banner, Can you please help ?
Sep 01 2021 10:20 AM
Jan 28 2022 12:30 AM
Hi, edit the page and the change the layout to "Plain" then run the following PowerShell script to change the Page Layout from "Article" to "Home". Make sure you use your own SharePoint URL and use the proper ID of the Page
#Connect to SharePoint Online site
$SiteURL = "https://mysite.sharepoint.com/"
Connect-PnPOnline $SiteURL -Credential (Get-Credential)
#Get the ID of the Page
Get-PnPListItem -List SitePages
#Change Page layout from "Article" to "Home"
Set-PnPListItem -List SitePages -Identity "5" -Values @{"PageLayoutType"="Home"}
Here is a post where you can find step by step details: https://jamilhallal.blogspot.com/2022/01/how-to-remove-the-top-banner-from-sharepoint-online-modern-...
Mar 24 2022 03:53 PM
After I put this into PowerShell ISE, I get error message(s)
PS C:\Users\Michael's Surface> #Connect to SharePoint Online site
$SiteURL = "https://michaelq.sharepoint.com/work/"
Connect-PnPOnline $SiteURL -Credential (Get-Credential)
#Get the ID of the Page
Get-PnPListItem -List SitePages
#Change Page layout from "Article" to "Home"
Set-PnPListItem -List SitePages -Identity "7" -Values @{"PageLayoutType"="Home"}
These are the error message(s) I get
cmdlet Get-Credential at command pipeline position 1
Supply values for the following parameters:
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.
At line:3 char:1
+ Connect-PnPOnline $SiteURL -Credential (Get-Credential)
+ ~~~~~~~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (Connect-PnPOnline:String) [], CommandNotFoundExcepti
on
+ FullyQualifiedErrorId : CommandNotFoundException
Get-PnPListItem : The term 'Get-PnPListItem' 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.
At line:5 char:1
+ Get-PnPListItem -List SitePages
+ ~~~~~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (Get-PnPListItem:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
Set-PnPListItem : The term 'Set-PnPListItem' 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.
At line:7 char:1
+ Set-PnPListItem -List SitePages -Identity "7" -Values @{"PageLayoutTy ...
+ ~~~~~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (Set-PnPListItem:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
May 08 2022 03:05 PM
May 09 2022 09:00 AM
May 26 2022 04:58 AM
May 30 2022 03:54 AM
If you "Copy" the home page back to page library, then highlight the page in the pages library, you have to manually go to page settings and update the properties (the Title and page name) to ensure they are not called "Home". In fact I normally save this a "blank page template".