• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 212
  • Last Modified:

How to hide left content bar in a sub site?

Hi,

I have a mother site with many  sub sites, I will need to remove the left content bar in one of the sub sites, it should be applicable for the entire site collection
Can somebody guide me on how to do this?

Regards
0
beesoo00
Asked:
beesoo00
  • 3
  • 2
1 Solution
 
TEEDACommented:
Do you mean the Quick Launch?
0
 
ufarooqCommented:
I assume by left content bar you mean Quick launch . in order to hide quick launch on any site do this
add a Content Editor Web part on the site in any zone . You can add it any where you want it will be hidden web part , Edit the web part and paste this code in the box

<style>
#s4-leftpanel{
display:none
}
.s4-ca{
margin-left:0px
}
</style>

if you want to do it for the whole site collecion this can be done by modifying master page you need SharePoint designer for that purpose. Let us know if you want to modify the master page .
0
 
beesoo00Author Commented:
Thanks Farooq for your reply,

I have added a content editor web part straight behind contact person on the right, and copied the code in the source editor field, nothing happens.  ( My picture disappear so it does work, I guess I need to put the web part somewhere else to remove the Quick launch .

Any more help please ? :)

Thanks In advance
0
Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

 
beesoo00Author Commented:
Farooq,

I have attached for you my team space page , if you can mark for me on it where i can add the code you provided me to import in source code box,

Thanks alot for your time ....
page.jpg
0
 
beesoo00Author Commented:
0
 
ufarooqCommented:
OK . the code i send you is for sharepoint 2010 only

in your case yoou will add this code in content editor web part

<style>
.ms-quicklaunch
{
display:none;
}
.ms-navframe
{
display: none;
}
</style>


on the page.jpg , click on Source Editor, copy and paste this code and hit OK , hit OK again .
Exit Edit Mode

Try this and let me know if you need more help .
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: Amazon Web Services - Basic

Are you thinking about creating an Amazon Web Services account for your business? Not sure where to start? In this course you’ll get an overview of the history of AWS and take a tour of their user interface.

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now