Have an idea?

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

bold the rows ONLY for mobile

Hi,
I have a grid question and want to bold the rows only for mobile respondents. I tried the below code but it bolds column options as well.
<style>
.mobile_grid_card {
   font-weight: bold;
}

</style>
asked Feb 22, 2021 by Abdul Bronze (3,220 points)

1 Answer

0 votes
Good try.  Your CSS selector applies to the whole grid "card."  We need to look at the HTML and construct a CSS selector that will apply just to the row labels.  Assuming this is a row-oriented grid question, I think this is what you're after:

<style>
.mobile_grid_question {
    font-weight: bold;
}
</style>
answered Feb 22, 2021 by Zachary Platinum Sawtooth Software, Inc. (201,975 points)
Thanks Zachary, it works.
...