Add the below snippet at the proper place in your custom master page will solve you problem
<div id="s4-workspace">
<div id="s4-bodyContainer">
<div class="ms-dialogHidden" style="display:none;">
<h1 id="pageTitle" class="ms-core-pageTitle">
<!-- ===== STARTER: Needed for Adding Apps from Site Contents ======================================================================================= -->
<!--SPM:<SharePoint:AjaxDelta id="DeltaPlaceHolderPageTitleInTitleArea" runat="server">-->
<!--SPM:<asp:ContentPlaceHolder id="PlaceHolderPageTitleInTitleArea" runat="server">-->
<!--SPM:<SharePoint:SPTitleBreadcrumb runat="server" RenderCurrentNodeAsLink="true" SiteMapProvider="SPContentMapProvider" CentralAdminSiteMapProvider="SPXmlAdminContentMapProvider">-->
<!--SPM:<PATHSEPARATORTEMPLATE>-->
<!--SPM:<SharePoint:ClusteredDirectionalSeparatorArrow runat="server"/>-->
<!--SPM:</PATHSEPARATORTEMPLATE>-->
<!--SPM:</SharePoint:SPTitleBreadcrumb>-->
<!--SPM:</asp:ContentPlaceHolder>-->
<!--SPM:</SharePoint:AjaxDelta>-->
<div class="ms-displayInlineBlock ms-normalWrap">
<a href="javascript:;" id="ms-pageDescriptionDiv" style="display:none;">
<span id="ms-pageDescriptionImage"> </span>
</a>
<span class="ms-accessible" id="ms-pageDescription">
<!--SPM:<asp:ContentPlaceHolder id="PlaceHolderPageDescription" runat="server"/>-->
</span>
<!--SPM:<SharePoint:ScriptBlock runat="server">-->
<!--SPM:_spBodyOnLoadFunctionNames.push("setupPageDescriptionCallout");-->
<!--SPM:</SharePoint:ScriptBlock>-->
</div>
</h1>
</div>
<div id="sideNavBox" class="ms-dialogHidden ms-forceWrap ms-noList" style="display:none;">
<div class="ms-core-navigation">
<!--SPM:<asp:ContentPlaceHolder ID="PlaceHolderLeftNavBar" runat="server">-->
<!--SPM:<asp:ContentPlaceHolder ID="PlaceHolderLeftNavBarTop" runat="server">-->
<!-- ===== STARTER: hide the quick launch for any page the doesn't override the PlaceHolderLeftNavBar ============ -->
<!-- ===== STARTER: if you want the navigation back you can add it from the collab master ============ -->
<!--SPM:<style type="text/css">//<![CDATA[-->
<!--SPM:#contentBox { margin-left: 0; }-->
<!--SPM:#sideNavBox { display: none; }-->
<!--SPM://]]></style>-->
<!--SPM:</asp:ContentPlaceHolder>-->
<!--SPM:<asp:ContentPlaceHolder ID="PlaceHolderQuickLaunchTop" runat="server"/>-->
<!--SPM:<asp:ContentPlaceHolder ID="PlaceHolderLeftNavBarDataSource" runat="server"/>-->
<!--SPM:<asp:ContentPlaceHolder ID="PlaceHolderCalendarNavigator" runat="server"/>-->
<!--SPM:<asp:ContentPlaceHolder ID="PlaceHolderLeftActions" runat="server"/>-->
<!--SPM:<asp:ContentPlaceHolder ID="PlaceHolderQuickLaunchBottom" runat="server"/>-->
<!--SPM:</asp:ContentPlaceHolder>-->
</div>
</div>
// other content
</div>
</div>
<div id="s4-workspace">
<div id="s4-bodyContainer">
<div class="ms-dialogHidden" style="display:none;">
<h1 id="pageTitle" class="ms-core-pageTitle">
<!-- ===== STARTER: Needed for Adding Apps from Site Contents ======================================================================================= -->
<!--SPM:<SharePoint:AjaxDelta id="DeltaPlaceHolderPageTitleInTitleArea" runat="server">-->
<!--SPM:<asp:ContentPlaceHolder id="PlaceHolderPageTitleInTitleArea" runat="server">-->
<!--SPM:<SharePoint:SPTitleBreadcrumb runat="server" RenderCurrentNodeAsLink="true" SiteMapProvider="SPContentMapProvider" CentralAdminSiteMapProvider="SPXmlAdminContentMapProvider">-->
<!--SPM:<PATHSEPARATORTEMPLATE>-->
<!--SPM:<SharePoint:ClusteredDirectionalSeparatorArrow runat="server"/>-->
<!--SPM:</PATHSEPARATORTEMPLATE>-->
<!--SPM:</SharePoint:SPTitleBreadcrumb>-->
<!--SPM:</asp:ContentPlaceHolder>-->
<!--SPM:</SharePoint:AjaxDelta>-->
<div class="ms-displayInlineBlock ms-normalWrap">
<a href="javascript:;" id="ms-pageDescriptionDiv" style="display:none;">
<span id="ms-pageDescriptionImage"> </span>
</a>
<span class="ms-accessible" id="ms-pageDescription">
<!--SPM:<asp:ContentPlaceHolder id="PlaceHolderPageDescription" runat="server"/>-->
</span>
<!--SPM:<SharePoint:ScriptBlock runat="server">-->
<!--SPM:_spBodyOnLoadFunctionNames.push("setupPageDescriptionCallout");-->
<!--SPM:</SharePoint:ScriptBlock>-->
</div>
</h1>
</div>
<div id="sideNavBox" class="ms-dialogHidden ms-forceWrap ms-noList" style="display:none;">
<div class="ms-core-navigation">
<!--SPM:<asp:ContentPlaceHolder ID="PlaceHolderLeftNavBar" runat="server">-->
<!--SPM:<asp:ContentPlaceHolder ID="PlaceHolderLeftNavBarTop" runat="server">-->
<!-- ===== STARTER: hide the quick launch for any page the doesn't override the PlaceHolderLeftNavBar ============ -->
<!-- ===== STARTER: if you want the navigation back you can add it from the collab master ============ -->
<!--SPM:<style type="text/css">//<![CDATA[-->
<!--SPM:#contentBox { margin-left: 0; }-->
<!--SPM:#sideNavBox { display: none; }-->
<!--SPM://]]></style>-->
<!--SPM:</asp:ContentPlaceHolder>-->
<!--SPM:<asp:ContentPlaceHolder ID="PlaceHolderQuickLaunchTop" runat="server"/>-->
<!--SPM:<asp:ContentPlaceHolder ID="PlaceHolderLeftNavBarDataSource" runat="server"/>-->
<!--SPM:<asp:ContentPlaceHolder ID="PlaceHolderCalendarNavigator" runat="server"/>-->
<!--SPM:<asp:ContentPlaceHolder ID="PlaceHolderLeftActions" runat="server"/>-->
<!--SPM:<asp:ContentPlaceHolder ID="PlaceHolderQuickLaunchBottom" runat="server"/>-->
<!--SPM:</asp:ContentPlaceHolder>-->
</div>
</div>
// other content
</div>
</div>
No comments:
Post a Comment