Updating Paths to Image Locations
Updating Paths to Image Locations for Site Collections or Subsites located under ".../sites/"
This document does not apply to "GLOBAL" installation of Core Theme files
- Open the *.preview file in SharePoint Designer (002_MT-Master.preview, 002_MT-Mysite.preview, or mysite15.preview) -> Perform a Find and Replace operation (Ctrl+F) -> Click Replace All button -> Save the file (Ctrl+S):
- In SharePoint Designer click All Files (left pane) -> click Styles Library (right pane) -> Themable folder -> Check Out, and open 002_MT-CSS.CSS.
- Perform a Find and Replace operation (Ctrl+F) -> click Replace All button -> Save the file (Ctrl+S):
- Check in the 002_MT-CSS.CSS -> Publish a major version -> Click Ok.
If your core theme files (CSS and images) are stored in virtual location(s) of your site(s), and not in 15 Hive (which is a global location for CSS and Images), and if your site's URL is under sites/ (e.g. http://YourSharepoint:RootSite/sites/TeamSite/, http://YourSharepoint:RootSite/sites/TeamSite/Blog, etc.), the CSS file 002_MT-CSS.CSS, and preview files (*.preview) enclosed in this package may not work properly.
To fix the problem you need to edit *.preview files (002_MT-Master.preview, 002-Footer.preview, etc.) and CSS (002_MT-CSS.CSS) using SharePoint Designer for each site located under sites/ (if you prefer, you may use other editor).
Enter following:
for Find what: src="/Style%20Library/
for Replace with: src="/sites/YourSite/Style%20Library/ - OR - src="/sites/YourSite/Subsite/Style%20Library/
Enter following:
for Find what: url("/Style%20Library/
for Replace with: url("/sites/MySite/Style%20Library/ - OR - url("/sites/YourSite/Subsite/Style%20Library/
Copyright © 2013 MasterThemes, Inc. All rights reserved.