【问题标题】:Sharepoint 2013 PickerTreeView change font colorSharepoint 2013 PickerTreeView 更改字体颜色
【发布时间】:2018-12-17 14:10:25
【问题描述】:

在我的 Sharepoint 2013 站点上,我们当前的背景与 PickerTree 中的字体颜色发生冲突(上传文档 -> 选择文件夹)。我不能更改背景,也不能更改主题(公司偏好)。

有没有办法手动更改此特定弹出窗口的字体颜色?我之前在 Sharepoint Designer 中编辑过页面,但无法在 Sharepoint Designer 中打开此页面,因为它是一个弹出窗口。我需要访问的文件是_layouts/15/PickerTreeView.aspx,但是我无法访问这个文件。

【问题讨论】:

    标签: sharepoint-2013 sharepoint-designer


    【解决方案1】:

    在 SharePoint On-Premise 中,我们可以转到 C:\Program Files\Common Files\microsoft shared\Web Server Extensions\15\TEMPLATE\LAYOUTS 并找到 PickerTreeView.aspx 页面。

    然后复制这个文件(备份),用记事本打开PickerTreeView.aspx页面,然后将下面的CSS样式添加到“PlaceHolderAdditionalPageHead”中。

    <style>
    #ctl00_PlaceHolderDialogBodySection_PlaceHolderDialogBodyMainSection_TreeView1 a{
        color:black;
    }
    </style>
    

    如果您使用 SharePoint Online,我们无法修改此文件。

    【讨论】:

      猜你喜欢
      • 2013-06-05
      • 1970-01-01
      • 1970-01-01
      • 2013-11-14
      • 2014-01-19
      • 2015-01-02
      • 2014-05-03
      • 1970-01-01
      • 2023-04-08
      相关资源
      最近更新 更多