This SharePoint tutorial explains, how to change the site collection, title, and logo in SharePoint Online or SharePoint 2013/2016.
Also, we will see how to change the site collection administrator in SharePoint Online or SharePoint 2013/2016.
Also, we will see how to add a background image to a SharePoint site.
Change site collection title, description, and logo in SharePoint
Step 1: Login to your SharePoint site -> Go to the Settings gear icon in the right side of the page -> Click on Site settings.
Step 2: Go to the Title, description and logo under Look and feel section.
Step 3: Next you will redirect to a new page where you can able to provide the Site title, description, and logo. Read: How to change the site logo in SharePoint 2016/2013/Online.
Note: We can also update the SharePoint Site title, description and logo using PowerShell command.
#Get the Web
$Web= Get-SPWeb "https://pikasha12.sharepoint.com/sites/DLH"
#Set the Title & Description
$Web.Title = "Enjoy SharePoint"
#Set Site Logo Icon
$web.SiteLogoUrl = "https://pikasha12.sharepoint.com/sites/DLH/SiteAssets/Mylogo.png"
#Set Logo Description
$web.SiteLogoDescription = "Logo for Enjoy SharePoint"
#Update the changes
$web.Update()
Note: We can also update the site Title and description using CSOM in SharePoint.
string siteUrl = "https://pikasha12.sharepoint.com/sites/DLH";
//Costruttore
using (ClientContext clientContext = new ClientContext(siteUrl))
{
//change title and description of siteUrl
Web website = clientContext.Web;
website.Title = "Enjoy SharePoint";
website.Description = "SharePoint Hub.";
website.Update();
clientContext.ExecuteQuery();
}
Change site collection administrator in SharePoint
Now we will see how we can Change site collection administrator in SharePoint Online. The same way you can also change site collection administrator in SharePoint 2013/2016.
Step 1: Login to your SharePoint site -> Go to the Settings gear icon in the right side of the page -> Click on Site settings.
Step 2: Click on Site collection administrators under user and permissions.
Step 3: Enter the name which you want to set administrator in the site and click on OK button.
How to add a background image to a SharePoint site
Now, let us see, how to add background image to a SharePoint online site.
We will learn to add a background image to the header of the SharePoint modern sites and a background to the classic SharePoint site.
We can quickly and easily customize the look of the SharePoint site to reflect the professional style and branding. Things to be considered when coming up with a perfect look for the site include font, color, and background image.
Add background image to a SharePoint Modern Site
Here we will learn to add background image to a SharePoint Modern Site.
- Open SharePoint Modern site
- Click on the gear icon.
- Click on the Change the look.
- Click on the Header
- Choose the layout of the header that is Extended( this layout has an option for background image).
- Under Background, you can choose the theme or you can upload the image.
- To upload the image, click on the upload icon
- Click on Save to save the background of the header.
Note: In SharePoint Modern site, there is no option to change the background image of the whole SharePoint site.
Add background image to a SharePoint classic site
Here we will learn to add background image to a SharePoint classic site.
- Open SharePoint Classic site.
- Click on the Gear icon-> change the look
- Select the Theme which one you want.
- On the right side, you can add the image for the background. Click on the change.
- And also you can change the colors, site layout, and fonts.
- Choose a image which one you want to add as background image. Then click on OK.
- Click on Try it out.
- If you like the preview, then click on Yes keep it or else click on No, not quite there.
After changing the background image, your site look like below screenshot according to your theme and background image you have selected.
This is how we can add a background image to a SharePoint Online classic site.
Add a background image to a SharePoint Page
Now, let us see, how to add a background image to a SharePoint page, also we will see how to add background color to a SharePoint page.
The solution will work in SharePoint Online classic sites and it will not work on modern SharePoint sites.
Follow the steps to add a background image to a SharePoint Online web part page.
- Open SharePoint site.
- Upload the image to the SharePoint classic site (Site contents -> Site assets -> click on upload -> files-> upload the image).
- Copy the image path (Click on the More icon next to the image -> Details -> path-> copy the whole path)
- Which page you want to add a background image, open it and click on Edit on the right top corner of the page.
- Click on insert.
- Click on the Web part
- Under Categories click on the Media and Content, under Parts click on the Script editor, and then click on Add.
- Now, from the dropdown click on the edit web part, on the right side of the web part.
- Click on the Edit Snippet.
- Then embed the code to change the background image:
<style>
body{
background-image : url(“paste the copied path of the image”) !important
}
</style>
!important is used to override the existing styles SharePoint might want to apply.
- Click on insert.
- Click on Save in the top left corner.
Now you can see your page background image change in the classic SharePoint site.
This is how we can change the background image of a SharePoint web part page.
Add a background color to a SharePoint Page
Now, let us see how to add a background color to a SharePoint page. Follow the steps to add the background color to a SharePoint Online web part page.
- Open SharePoint Online site
- Which page you want to add background color, open it and click on Edit on the right top corner of the page.
- Click on insert.
- Click on the Web part
- Under Categories click on the Media and Content, under Parts click on the Script editor, and then click on Add.
- Now, from the dropdown click on the edit web part, on the right side of the web part.
- Click on the Edit Snippet.
- Then embed the code to change the background color:
<style>
body{
background-color: f59a11 !important;
}
</style>
!important is used to override the existing styles SharePoint might want to apply.
- Click on insert.
- Click on Save in the top left corner.
Now you can see the background color of the page of SharePoint Online site.
This is how to change the background color of a SharePoint Online web part page.
You may like the following SharePoint tutorials:
- Set Site Logo in all Sub Sites under Site Collection using PowerShell in SharePoint 2013
- 50+ PowerShell SharePoint Examples
- How to check site collection size SharePoint 2013/2016 using PowerShell and SharePoint Designer 2013
- How to create a calculated column in SharePoint List or Library
- How to allow anonymous read access to a SharePoint site?
- What is a SharePoint site collection administrator?
- SharePoint site types
- How to delete SharePoint site?
The above steps need to follow to change the site collection Title, Description, and logo in SharePoint. Also, we say how we can change the site collection administrator in SharePoint Online. We also saw, how to add a background image to a SharePoint site. Also, we saw how to add a background color to a SharePoint Page and how to add a background image to a SharePoint Page.
Rajkiran is currently working as a SharePoint Consultant in India . Rajkiran having 7+ years of experience in Microsoft Technologies such as SharePoint 2019/2016/2013/2010, MOSS 2007,WSS 3.0, Migration, Asp.Net, C#.Net, Sql Server, Ajax, jQuery etc.He is C#Corner MVP (2 Times).