Have an idea?

Visit Sawtooth Software Feedback to share your ideas on how we can improve our products.

How to change background color of column labels

I am trying to change the background color of my column labels in grid question. Can someone let me know how to do this?
asked May 23 by anonymous

1 Answer

0 votes
This wouldn't change the color of the entire cell but it would give you background color around your label.
<p style="background-color:red;">COLUMN LABEL TEXT</p>
answered May 23 by Jay Rutherford Gold (31,740 points)
And if you want to change the background color of the entire cell for the column labels, adding this CSS to your question should do it:

#[% QuestionName() %]_div .col_label_cell {
    background-color: red;

This won't affect mobile grid questions.