Add or Remove the Quick Launch Menu Control

There are four ways to add or remove the Quick Launch menu control from your SharePoint pages and sites. You can apply these techniques for other SharePoint controls as well. The techniques are:
  • Using the SharePoint web interface or SharePoint Designer 2010
  • Using a master page
  • Using a page layout
  • Using a Content Editor Web Part
Create a CSS file and add the following Code

#s4-leftpanel
{
display:none;
}

.s4-ca {
margin-left:0px!important;
}

If you want to hide the Quick Launch menu in most publishing pages and display it in only a few pages, you can keep the Quick Launch menu control visible in the master page, reference a CSS file in the master page that hides the Quick Launch
container, and reference a CSS file in your page layout that shows the Quick Launch menu. Here is the CSS code to show the Quick Launch menu:


#s4-leftpanel
{
display:inherit!important;
width:155px!important;
}

.s4-ca {
margin-left:155px!important;
}

Comments

  1. உங்களது post மிகவும் உபயோகமாக உள்ளது நன்றி........

    ReplyDelete

Post a Comment

Popular posts from this blog

Activating a SharePoint Feature on Multiple Sites or Site Collections using PowerShell

Managed Path with WildCard and Explicit Inclusion

List All SharePoint 2010 PowerShell Commands