Pages

Thursday, August 25, 2011

Hide the Quick Launch in SharePoint 2007/2010

We do have one requirement in which customized search result page  needs to use full width of the page , it means I need to hide Quick Launch for that page.

There is not any out of the box way by which we can easily hide or make invisible the Quick Launch and the Tree View navigation in SharePoint 2010 sites. 

How to do this?

The easiest way is to do this is
1> Edit the Page by selecting from Site Actions.
2> Add a Content Editor Webpart
3> Add the following text in the HTML Source mode:

#s4-leftpanel{
display:none
}
.s4-ca{
margin-left:0px
}

I applied this logic to pages which are related to Team Site.

See the magic!!!!! :)

Disha Shah

3 comments:

  1. HI,
    MYSELF DHANESHWAR JEEVAN SINGH...
    RECENTLY I GOT A JOB ON .NET AND THEY DIVERTED ME INTO SHAREPOINT...
    I'M A FRESHER I DNT KNW MUCH CODING...
    CAN I SURVIVE IN THIS TECHNOLOGY...!!!???

    ReplyDelete
  2. Hi Dhaneshwar

    If you know .NET definetly you can survive in SharePoint technology,but you should know about the basics of Sharepoint, their terminology.

    If you face any problem, leave a comment. I will try to help you as much as i can

    Thanks
    Disha Shah

    ReplyDelete
  3. THANKS DISHA JI...
    FOR UR RESPONSE...
    I'M NEW TO SHAREPOINT... BUT I KNW SOME CONCEPTS OF .NET...
    IN .NET WE WRITE LENGTHY CODE, WHAT ABT IN SHAREPOINT...?
    REGARDS,
    DJ'S

    ReplyDelete