从Sharepoint主页面的标题中删除O365按钮 [英] Removing O365 Button From the header of Sharepoint Master Page

查看:95
本文介绍了从Sharepoint主页面的标题中删除O365按钮的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


我有一个发布网站,我想从主页面的标题中删除O365按钮(请参阅随附的屏幕截图)。


我试图找到o365按钮删除,我在seattle.master,seattle.html,oslo.master,oslo.html以及v4.master中搜索,但找不到的 按钮。


任何人都可以请你帮忙。 你可以建议我实现同样的目的。 



请参考屏幕截图以获得清晰度。



谢谢,


Balaram


解决方案


对于经典网站,我们可以将下面的CSS样式添加到< head />在seattle.master页面中标记以实现它。

< style> 
#O365_MainLink_NavMenu {
display:none!important;
}
< / style>

根据您的截图,您使用现代网站,我们可以使用SPFx扩展来注入自定义CSS。


以下带有源代码的解决方案供您参考。


https://github.com/hugoabernier/react-application-injectcss


最诚挚的问候,


Dennis


Hi ,

I have one publishing site in which i want to remove the O365 Button from the header of the Master page (Please refer the screenshot attached).

I am trying to find that o365 button to remove, i searched inside seattle.master, seattle.html, oslo.master, oslo.html and also in v4.master, but couldn't find the  button.

Anyone can u please help in the same.  U could suggest me the way to achieve the same thing. 

Please refer the screenshot for the clarity.

Thanks,

Balaram

解决方案

Hi,

For classic site, we can add the CSS style below into <head/> tag in seattle.master page to achieve it.

<style>
#O365_MainLink_NavMenu{
	display:none !important;
}
</style>

Base on your screenshot, you use modern site, we can use SPFx extension to inject custom CSS.

The following solution with source code for your reference.

https://github.com/hugoabernier/react-application-injectcss

Best Regards,

Dennis


这篇关于从Sharepoint主页面的标题中删除O365按钮的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆