How to Create Master Page Using Design Manager in SharePoint 2013

Santhosh Babu
 
Technology Specialist
December 30, 2013
 
Rate this article
 
Views
35759

Design Manager is one of the new feature introduced in SharePoint 2013. Using Design Manager, the Branding and Customization can be done very easily in SharePoint 2013. Design Manager only available on publishing site template and the other default templates does not have this feature. Design Manager has a lot of features.  In this post I tried to give a broad idea about Design Manager by converting HTML file to Master page.

Before diving into design manager, First we need to create wireframe in HTML. The wireframe needs to contain HTML, CSS, images and other support files.

I have provided the sample files.

The following is a sample HTML wireframe source and structure.

Structure

clip_image002

Source

1) HTMLPage

 <html>
 <head>
     <title>My Blogs</title>
     <link href="css/profile.css" rel="stylesheet" />
 </head>
 <body>
 
     <div class="page_layout">
         <div class="profilepicture">
 <img class="imgsize" src="images/Profile.JPG" />
         </div>
         <div class="blogtitle">
             Create Master Page using design manager in SharePoint 2013
         </div>
         <div class="pervioustitle">
             <ul class="bloglist">
                 <li>Previous Blog one</li>
                 <li>Previous Blog two</li>
                 <li>Previous Blog three</li>
                 <li>Previous Blog four</li>
             </ul>
         </div>
         <div class="blogcontent">
             sample bolg content sample bolg content sample bolg content sample bolg content sample bolg content sample bolg content sample bolg content sample bolg content sample bolg content sample bolg content sample bolg content sample bolg content sample bolg content sample bolg content sample bolg content sample bolg content sample bolg content sample bolg content sample bolg content sample bolg content sample bolg content sample bolg content                         
             <img src="images/DesignManager.JPG" />
         </div>
     </div>
 
 </body>
 </html>
 

2) CSS

 body {
     font-family: Calibri;
     width: 98%;
 }
 
 div {
     word-wrap: break-word;
 }
 
 .page_layout {
     padding: 10px 0px 0px 0px;
 }
 
 .profilepicture {
     float: left;
     width: 20%;
     height: 200px;
     position: fixed;
 }
 .imgsize {
     width:100%;
     height:100%
 }
 .blogtitle {
     width: 78%;
     float: right;
     font-size: x-large;
     font-weight: bold;
     color: #0000FF;    
     text-decoration:underline;    
 }
 
 .pervioustitle {
     width: 20%;
     padding: 200px 10px 0px 0px;
     float: left;
     position: fixed;
 }
 
 ul.bloglist {
     list-style-type: circle;
     font-size: medium;
     font-weight: bold;
     font-style: italic;
     color: #000066;
 }
 
 .blogcontent {
     float: right;
     width: 78%;
     padding: 20px 5px 0px 5px;
     top: 20px;
 }
 

HTML Page View

 

clip_image004

 

The following is a step by step procedure for creating master page using design manager.

Step 1:

Create new publish portal site collection

clip_image006

Step 2:

Open the site then click design manager link from right top corner "Settings" menu.

clip_image008

Step 3:

Click the upload design files for “Map the following location as a network drive so you can work easily with your design files: “

clip_image010

 

Click the URL and it will provide the network path then map the network drive

clip_image012

If you face the following error.clip_image014

Then add the “Desktop Experience” feature to your server using Server Manager.

 

clip_image016

 

Once the feature activated then maps the network drive.

 

Step 4:

Open the source drive (HTML Wireframe path) and copy all the supported files then paste to destination drive (mapped path).

clip_image018

 

Step 5:

Again open the design manger then click Edit Master Pages and click “Convert HTML file to SharePoint Master Page”

clip_image020

 

Step 6:

It will open a pop up window then select the htmlpage (which you have uploaded) then click insert

clip_image022

Automatically converted from HTML to SharePoint Master Page. The approval status is DRAFT.

 

clip_image024

 

 

 

Step 7:

Once the conversion is completed click the Htmlpage.html check the preview and see the master page then back to the design manager and publish the page.

 

clip_image026

 

 

clip_image028

 

Step 8:

After publishing the page click setting menu and select “Site setting” link

clip_image030

 

Step 9:

 

Click Master Page link and select the HTMLPage in site master page category drop down menu then click ok button.

 

clip_image032

 

clip_image034

 

Step 10:

Click the home page the Htmlpage converted to SharePoint Master Page with default menus.

clip_image036

 

In next article, let us see the code snippet and create design manager master page package.

 

Happy Coding.

SanthoshBabu ManickaMohan

Category : SharePoint

Author Info

Santhosh Babu
 
Technology Specialist
 
Rate this article
 
Working as a Technology Specialist in SharePoint ~ Cognizant ...read more
 

Leave a comment