3

When I save a SharePoint 2013 Site Template, all my modifications stick, except for the Site Logo. How do I save the Site Logo in the template?

Here's how I changed the site logo: I've uploaded it to Site Assets and changed the URL in the site template. When saving, I've checked "Include Content".

1
  • Try changing it using PS $_.SiteLogoUrl = “/path/to/your/logo.gif”; $_.Update() and save site as a template if that helps. Jun 28, 2013 at 10:12

1 Answer 1

1
+50

What gets saved in a template

When you save your SharePoint site as a template, you’re saving the overall framework of the site – its lists and libraries, views and forms, and workflows. In addition to these components, you can include the contents of the site in the template, for example, the documents stored in the document libraries. This could be useful to provide sample content for users to get started with. Keep in mind that this could also increase the size of your template beyond the default 50 MB site template limit.

Most of the objects in a site are included and supported by the template. There are a number of objects and features not supported however. The following table provides a quick summary of what’s in and what’s out of a typical site template, or solution.

If you can make changes to your Master page then try this,

If you don’t want to edit every single WebPart page and/or if you want to retain the ability to change the page title I have another solution for you. My solution is to change the SiteLogoImage node name in the master page. Thus the javascript generated by the PageTitleWebPart is no longer able to change the logo.

Details

Open your master page and find the line starting with: <SharePoint:SiteLogoImage name="onetidHeadbnnr0" And replace the “onetidHeadbnnr0” name with something else; “onetidHeadbnnr1” will do the trick.

Reference

I believe you will need a new custom master page not new site template to show changes you made to a site's logo.

enter image description here

For More Info check links below:

Site Logo Not Changing on Web Part Pages

Introduction to SharePoint master pages

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.