How do I hide the Content Editor Web Part in SharePoint 2010

I have added a cewp to my sharepoint 2010 page. I want to hide the webpart. When I click Edit the WebPart and expand the Layout section, the Hidden checkbox is grayed out. Is there something I am missing? Thanks in advance.
scurry888Asked:
Who is Participating?
 
scurry888Author Commented:
This is what I found.I was not able to hide the CEWP on publishing pages. if I created a webpart
page and added the CEWP I was able to hide it without any problems. The workaround that I found
was to add this querystring to my URL '?ToolPaneView=2'.

Ex.
http://MyServer.com/sites/ThisSite/sitepages/home.aspx
http://MyServer.com/sites/ThisSite/sitepages/home.aspx?ToolPaneView=2

This opens an Add Web Parts dialog and allows me to add the CEWP at the bottom of the page. I am
now able to hide the web part without any problems.
0
 
Justin SmithSr. System EngineerCommented:
Can you hit the drop down arrow in the top right corner, and hit "close"?
0
 
scurry888Author Commented:
ACH1LLES,
When I click the arrow in the top right corner of the CEWP the options I have are: Minimize, Edit Web Part and Export. I clicked on Edit Web Part and expanded the Advanced section this is what i have.

 CEWP advanced section
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.

 
Justin SmithSr. System EngineerCommented:
You need to select "Edit Page" in the ribbon before the Close option will show up
0
 
scurry888Author Commented:
I selected 'Edit Page' in the ribbon and then clicked on the dropdown arrow in the CEWP. The options that I have now are :  cewp menu
Next I selected 'Edit Web Part' the options under the Layout and Advanced sections are stilled grayed out. I am not able to make any changes to them.
  cewp properties
Is there a setting I have missed in Central Administration to allow these changes?
0
 
Justin SmithSr. System EngineerCommented:
No.  Explain to me why you can't just delete or minimize it?
0
 
scurry888Author Commented:
In SP2007 I used the CEWP to modify the page by adding code (CSS or javasript) to the CEWP. I would then just hide it. If I minimize the CEWP the user can just restore it. If I delete it then I am not able to modify the page.
0
 
scurry888Author Commented:
Appending the query string to the end of the URL allowed me to add the CEWP to my page and hide it .
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.

All Courses

From novice to tech pro — start learning today.