Sharepoint CSS问题 [英] Sharepoint CSS Question

查看:80
本文介绍了Sharepoint CSS问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Hello All,


我需要在具有自定义主题的sharepoint页面上更改一些格式。


我是使用IE开发工具找到我需要更改的设置与.css文件有关。


在开发工具中,代码显示为


.nav-bg {

   背景:#41156a;

  }


这也与.css文件中的外观完全相同


但是在IE开发工具中我有一个小箭头,它在DEV工具中展开它以显示


.nav-bg {

    ; background-image:none;
$
   背景附件:滚动;

    background-repeat:重复;

    background-position-x:0%;

    background-position-y:0%;

    background-size:auto;

    background-origin:padding-box;

    background-clip:border-box;

    background-color:rgb(65,21,106);

}


这是我要更改的背景颜色rgb值。


但是在.css文件中因为它只显示了一行我不知道如何更改它,我可以简单地将上面修改的多行版本粘贴到.css文件中吗?


希望有意义!



提前致谢


解决方案

想想我已经回答了这个问题,只需要通过它的外观将#41156a更改为新rgb颜色的十六进制值。

Hello All,

I need to change some formatting on a sharepoint page which has a custom theme.

I've used the IE dev tools to find the setting I need to change relates to a .css file.

In the dev tools the code shows as

.nav-bg {
    background: #41156a;
  }

That's also exactly as it looks in the .css file

However in the IE dev tools I have a little arrow which expands it in the DEV tools to show

.nav-bg {
    background-image: none;
    background-attachment: scroll;
    background-repeat: repeat;
    background-position-x: 0%;
    background-position-y: 0%;
    background-size: auto;
    background-origin: padding-box;
    background-clip: border-box;
    background-color: rgb(65, 21, 106);
}

It is the background-color rgb value which I want to change.

However in the .css file as it only shows the one line I do not know how to change it, can I simply pasted the amended multi line version above into the .css file?

Hope that makes sense!

Thanks in advance

解决方案

Think I have this answered, just need to change the #41156a to the hex value of the new rgb colour by the looks of it.


这篇关于Sharepoint CSS问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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