Domanda

Sto distribuendo un'app SharePoint2013 (SharePoint Hosted). Come posso rimuovere il logo SharePoint2013 e il nome dell'app? Ho provato questo in document.ready

$("#titleAreaRow").hide();
$("#DeltaWebPartAdderUpdatePanelContainer").hide();
.

Ma posso ancora vedere il logo per un po '. Posso risolverlo?

Grazie, NK

È stato utile?

Soluzione

You can do it with CSS in your default.aspx file with:

#s4-titlerow{
    display:none!important;
}

This will hide the complete title area (with breadcrumb and title).

Doing it with javascript is tricky since SharePoint seems to set display:block on the element with javascript as well. So if you want to go in that direction you need to find out what JS script is setting it to display, and try to run your script afterwards.

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a sharepoint.stackexchange
scroll top