Create a Custom Page Layout in SharePoint 2013 RRS feed

  • General discussion

  • This is a Step-by-Step tutorial on how to Create a Custom Page Layout in SharePoint 2013.We will use the new Design Manager to Create a Layout (from an existing one) and then edit it in one of the editors like Notepad.Once the layout is Created and Uploaded to Master Page Gallery, you can edit the generated html file in an editor of your choice and upload it back to the Master Page Gallery.

    If you need to add SharePoint Field Controls or any other SharePoint Controls such as search box,navigation etc in your custom layout, you can use the Snippet gallery to Copy the required field Control code and paste it into your custom Layout’s html file.In this post however we will only look at an example of Creating a Custom Page Layout and using it to Create a Custom Page. If you want to edit the page layout and add a code from Snippet gallery, see the upcoming post  on ‘Add Snippets in Layout Page using Snippet gallery in SharePoint 2013′.

    Before you begin make sure that you have Publishing Feature enabled on your site and you see “Deisgn Manager” under Look and feel.

    Lets look at the detailed steps -

    1. Navigate to Site Settings -> Design Manager (under look and feel).


    2. Next in Design Manager select “6. Edit Page Layouts” and then “Create a page layout”


    3. Now Create a Custom Page layout using the Article Page Content type.

    4. When the Layout is Created, it gets available in “Edit Page Layouts” list and the “Master Page gallery” of the site.The Layout Page will be in Drafts mode until you publish it as a major version.

    5. Next Edit the New Layout Page and save the Changes.In SharePoint 2013 for every Layout page two files – .aspx and html are created by default.

    SharePoint 2013 custom layout files

    For making Changes to the Custom Layout, you need to download the html file (see above – Custom page Layout.html) of your layout page and make Changes to it.The modified html file is then saved back to the MasterPage Page gallery where the corresponding .aspx file gets updated automatically.

    6. Once you have updated and saved the Layout page, you need to Publish the Layout page as a major version to make it available in Layouts list.

    7. Finally, Create a new Page with your Custom Layout.

    Navigate to Site Content in Site Settings and then Open the “Pages” gallery.


    SharePoint 2013 Pages Lib


    Click on the ‘FILES’ tab and select Page.


    Finally Create a new Page with your Custom Layout.

    Tuesday, July 16, 2013 7:02 AM

All replies