Link to home
Start Free TrialLog in
Avatar of beesoo00
beesoo00Flag for United Arab Emirates

asked on

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
Avatar of TEEDA
TEEDA

Do you mean the Quick Launch?
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 .
Avatar of beesoo00

ASKER

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
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
ASKER CERTIFIED SOLUTION
Avatar of ufarooq
ufarooq

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial