我正在部署SharePoint2013应用程序(SharePoint托管)。 如何删除SharePoint2013徽标和应用程序名称? 我在document.ready 中尝试了这个

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

但我仍然可以看到徽标一段时间。我可以解决它吗?

谢谢, nk

有帮助吗?

解决方案

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.

许可以下: CC-BY-SA归因
scroll top