Wednesday, 5 February 2014

How to add logo in a SharePoint 2013 Existing Master Page

How to add logo in a SharePoint 2013 Existing Master Page

How add logo in SharePoint 2013 Master Page. If you are looking to edit an existing Master Page you can make a copy of it and then edit in Notepad to Change the logo. Lets look at the 

Steps - 

1. Download a Copy of existing "Seattle.master" from the Master Page gallery. 


SharePoint 2013 Download Seattle Master Page

2. Next, Open  “Custom_Seattle.master” file in the editor of your Choice. You can use Visual Studio, SharePoint Designer or Notepad to open and edit it.

In the Designer or Notepad Change the Following -

To Change the Site Logo look for -
<SharePoint:SiteLogoImage CssClass=”ms-siteicon-img” name=”onetidHeadbnnr0″ id=”onetidHeadbnnr2″ LogoImageUrl=”/_layouts/15/images/siteIcon.png?rev=23″ runat=”server”>
Change the LogoImageUrl to whatever Logo you want to display in your Site.Make sure you add a relative url for the Logo Image.
Resulting Snippet-
<SharePoint:SiteLogoImage CssClass=”ms-siteicon-img” name=”onetidHeadbnnr0″ id=”onetidHeadbnnr2″ LogoImageUrl=”/PublishingImages/LearningSharePoint_logo.png” runat=”server”>

No comments:

Post a Comment