【发布时间】:2015-09-14 11:23:25
【问题描述】:
我正在使用 jqgrid。我想更改标题栏的颜色,但我没有这样做。我不知道我在做什么愚蠢的错误。我试过这个,但它没有工作
.ui-th-column, .ui-jqgrid .ui-jqgrid-htable th.ui-th-column {
border-bottom: 0 none;
border-top: 0 none;
overflow: hidden;
text-align: center;
white-space: nowrap;
background: orange;
}
我也试过.ui-jqgrid .ui-widget-header{background-color: yellow !important;},但也没用。
【问题讨论】:
-
使用 chrome 检查器之类的工具检查元素的类及其父元素。