简体   繁体   中英

Hide site contents link from wiki pages in Sharepoint Online

In a Sharepoint Online site I am using wiki (or traditional) pages for certains tasks and I need to hide the “Site Contents” link. This is my screenshot, and highlited, the link I need to remove:

网站内容链接

On the Internet I found a post which says to manually insert a paragraph like #sideNavBox { display:none; } in the markup using the page editor.

带有手动标记的页面

Initially (after the click on the button OK) all seems ok, but when I publish the page the link comes back.

Other posts suggest different code but the editor seems to refuse all the styles I try to insert.

Any help will be appreciated, thank you.

Try to add the

 #sideNavBox{
  display:none!important
  }

into a CSS file and upload it to SharePoint, then specify this CSS file to be used by this site. 在此处输入图像描述

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM