Sharepoint 2010 (left and right zones) - Delete

All I'm trying to do is remove the right zone of this site. How to do it? Is there a site in SharePoint that has no zones?

enter image description here

+4
source share
4 answers

Web part zones are part of the page layout used by the instance of your page. To remove a web part zone, you can:

  • Edit page in SharePoint Designer. Before placing a page in edit mode, SharePoint Designer will ask if you want to separate from the page layout. Once you do this, you can format the page as you want.
  • Create a custom page layout based on the page layout with the removed right zone. After the custom page layout is expanded or loaded, you can link your page to this layout.
  • Hide a zone using custom CSS. The easiest way to do this is to add the Content Editor web part to your page using CSS to hide the zone.
+8
source

In the content editor, just paste the following and it works:

<script> function HideWebPartZone() { var x = document.getElementsByTagName("TD") var i=0; for (i=0;i<x.length;i++) { if (x[i].width=="70%") { // left column x[i].style.width="100%"; // center (otherwise empty) column var x2=x[i].nextSibling; x2.style.width="0"; x2.style.display="none"; x2.innerHTML=""; // right column x2=x[i].nextSibling.nextSibling; x2.style.width="0"; x2.style.display="none"; x2.innerHTML=""; // right margin column x2=x[i].nextSibling.nextSibling.nextSibling; x2.style.width="0"; x2.style.display="none"; x2.innerHTML=""; //all done return; } } } _spBodyOnLoadFunctionNames.push("HideWebPartZone") </script> 
+3
source

If you have edit access on the page, you must set the text layout in one column to remove this right column. This option is located in the "Editing Tools → Text Format → Text Layout" section of the ribbon in page editing mode.

+1
source

when you are in the sharepoint designer. also try right-clicking on the aspx file and select "Edit in advanced mode." This will allow you to delete zones, columns, and when you go to save the file, you will be asked to specify create your own layout .. yes ... everything is done in one shot.

+1
source

All Articles