修改Drupal网站中文部分的颜色
|
在网站上,安装了2种语言。中文(i18n-zh-hans)和英语(i18n-en)。两种身体都有不同的类别。
中文
<body class=\"front not-logged-in one-sidebar sidebar-left i18n-zh-hans\">
英语
<body class=\"front not-logged-in one-sidebar sidebar-left i18n-en\">
我想给中文版本一些不同的样式。所以我想我改变了这一点:
body
{
background-color:#f4f4f4;
background-image:url(images/margins.jpg);
background-position:center;
background-repeat:repeat-y;
margin: 0;
padding: 10px;
width: auto !important;
}
对此:
body .i18n-zh-hans
{
color: red;
}
用于以红色显示中文文本(仅作为示例)。但是由于某种原因,它不起作用。我的声明错了吗?
提前致谢
没有找到相关结果
已邀请:
1 个回复
坝镰补翔奋