Quick Launch (left navigation) Missing in Web Part Pages – Solutions

In SharePoint 2007, When we create a web part page, it doesn’t come up with left navigation! SharePoint quick launch missing in web part pages!!

sharepoint quick launch missing

Well, there are 3 approaches to resolve this issue.

  1. Editing the Site definition Template files – Farm level (NOT RECOMMENDED!)
  2. Editing the Master page – Site level
  3. Editing the individual page – Page level

Option 1: Editing the Site definition Template files – Farm level
in the WFE(s), Navigate to : “C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\TEMPLATE\1033\STS\DOCTEMP\SMARTPGS”

sharepoint 2007 quick launch missing

Open the files spstdX.aspx and comment out these lines:

<asp:Content ContentPlaceHolderId=”PlaceHolderPageImage” runat=”server”></asp:Content>
<asp:Content ContentPlaceHolderId=”PlaceHolderLeftNavBar” runat=”server”></asp:Content>
<asp:Content ContentPlaceHolderId=”PlaceHolderNavSpacer” runat=”server”></asp:Content>

In case you need the Place holder Image for the site, then you can add that by
<asp:Content ContentPlaceHolderId=”PlaceHolderPageImage” runat=”server”>
<div style=”padding:20px 0;”>
<img alt=”” width=”150″ height=”50″ src=”/_layouts/images/generic.png” /></div></asp:Content>
</asp:Content>
<%–<asp:Content ContentPlaceHolderId=”PlaceHolderPageImage” runat=”server”></asp:Content>
<asp:Content ContentPlaceHolderId=”PlaceHolderLeftNavBar” runat=”server”></asp:Content>
<asp:Content ContentPlaceHolderId=”PlaceHolderNavSpacer” runat=”server”></asp:Content–%>

Option 2: Editing the Master page – Site level, to solve SharePoint quick launch bar missing issue:
Open the site in SharePoint Designer, Edit your master page, it would be “default.master” by default.
Find the following 2 segments of code:
<asp:ContentPlaceHolder id=”PlaceHolderLeftNavBar” runat=”server”>
      .
      .
      . 
      .
 </asp:ContentPlaceHolder>

<asp:ContentPlaceHolder id=”PlaceHolderNavSpacer” runat=”server”>
      .
      .
      .
      .
</asp:ContentPlaceholder>

All you have to do is: Move the closing tag </asp:ContentPlaceHolder> right after the opening tag. for e.g.:

<asp:ContentPlaceHolder id=”PlaceHolderLeftNavBar” runat=”server”>
</asp:ContentPlaceHolder>
       .
       .
       .
       .

Save and publish your Master page.

Option 3: Editing the individual page – Page level to fix SharePoint 2007 quick launch missing:
Open the Page in site in SharePoint Designer, Find the line :
<asp:Content ContentPlaceHolderId=”PlaceHolderLeftNavBar” runat=”server”></asp:Content>

and comment or Remove it! In Case, you are getting some consistency in page width, try removing these place holders too.

<asp:Content ContentPlaceHolderId=”PlaceHolderPageImage” runat=”server”></asp:Content>
<asp:Content ContentPlaceHolderId=”PlaceHolderLeftNavBar” runat=”server”></asp:Content>
<asp:Content ContentPlaceHolderId=”PlaceHolderNavSpacer” runat=”server”></asp:Content>

and finally, our web part page will have Quick launch 🙂

sharepoint quick launch bar missing

Some times, You may feel the Quick launch width is not enough! Here is the fix:

Add this CSS: just below:
<asp:Content ContentPlaceHolderId=”PlaceHolderTitleAreaClass” runat=”server”>

<style type="text/css">
 .ms-quicklaunchouter
   {
     width:150px!important;
    }
</style>

For SharePoint 2010 quick launch missing issue, refer: Show Quick Launch in SharePoint 2010 Web Part Pages

Salaudeen Rajack

Salaudeen Rajack is a SharePoint Architect with Two decades of SharePoint Experience. He loves sharing his knowledge and experiences with the SharePoint community, through his real-world articles!

5 thoughts on “Quick Launch (left navigation) Missing in Web Part Pages – Solutions

  • December 11, 2012 at 4:29 PM

    Hi Salaudeen,

    Quick launch size increases but the scroll bar pane is still at the same position. Can you tell me how to increase width of the scroll bar pane.

    Reply
  • December 10, 2012 at 1:47 PM

    Hi Salaudeen,

    I want to increase the width of quick launch in tree view mode SP2010 Blank site at Master page level. I tried modifying css classes like .S4 ca and others but didn’t workout. Can you please tell me how to achieve this ? In tree view mode the width of quick launch is not sufficient.

    Reply
    • December 11, 2012 at 11:14 AM

      Avinash,

      Say, You want to set the Treeview width to 255px (By default, its in 155px), Use this code either in Master page/CEWP.

      Regards,
      Salaudeen

      Reply
  • May 15, 2012 at 9:04 PM

    Hi, I think this is great 😉 I will revisit yet again since I book-marked it. Money and freedom is the greatest way to change, may you be rich and continue to guide others.

    Reply
  • October 17, 2011 at 8:12 AM

    Wonderful article Bro! Thanks a Ton.

    Reply

Leave a Reply