Header Color *Updated* #169
-
Is is possible to change the background color in the header? I have tried the following and it does not work.
|
Beta Was this translation helpful? Give feedback.
Replies: 6 comments
-
Hi @deanparker-web the only way you can do this at the moment is to override the css variables: .vars[theme='default']{ Would setting individual column/row heading colours be something you are interested in? |
Beta Was this translation helpful? Give feedback.
-
I have tested the CSS..
Changing row-header sets the col and row color. As for setting individual heading colors... A work around I am using, hide headers and put headers in column 1. There is no sorting, etc. but is not needed. |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
I am trying to create some of the headers as yellow and some white. Code to do this, there are 5 titles and I created a box for each one.
Style Sheet
For white titles code behind
|
Beta Was this translation helpful? Give feedback.
-
Thanks @deanparker-web I've updated in #181 so that the css variables are now correct for the row/col background colours. For setting specific styles for row/column headers you could use the css: .row-head[data-row="5"]{
background:red;
}
.col-head[data-col="5"]{
background:red;
} |
Beta Was this translation helpful? Give feedback.
-
Works Perfectly, thank you. |
Beta Was this translation helpful? Give feedback.
Thanks @deanparker-web I've updated in #181 so that the css variables are now correct for the row/col background colours.
For setting specific styles for row/column headers you could use the css: