Monday, November 21, 2011

Hide your Quick launch

1.insert content editor webpart
You can do it  in two ways Edit webpart. "Click here to add a new content"
   b.Click "Format text"in the ribbon.
   c.Click "HTML" in the righ-hand side.
   d.paste the below code in th HTMl Editor and click ok
   E.Click "Apply" and "OK
2.2.Copy and paste the code in your Editor(notepad,worpad,office). "Site Setting"and select "View all site conten:
   2.Click "Site Assets"
   3.Upload the file.
   4.Copy the Url of the file.
   5.Now,insert "Content Editor" webpart Edit webpart. "Click here to add a new content"
   8.paste your URl in url column of the properties window.
   9.Click Apply and Ok

3.Now you must see the result.No quick launch on the site page.
Code to hide:
BODY #s4-leftpanel {
        DISPLAY: none
.s4-ca {
        MARGIN-LEFT: 0px

No comments:

Post a Comment