See here for info on inserting JavaScript -
manual.limesurvey.org/Workarounds:_Manip...tc..29_in_LimeSurvey
Ben;s script will add a style rule to the <head> section but if you want to add a class to the question as in the above workaround, insert this script into the question text (don't modify anything except "header-red"):
Then, if using the default template, you can insert something like this at the end of template.css:
Ben;s script will add a style rule to the <head> section but if you want to add a class to the question as in the above workaround, insert this script into the question text (don't modify anything except "header-red"):
<script type="text/javascript" charset="utf-8">
$(document).ready(function() {
$('#question{QID}').addClass('header-red');
});
</script>
Then, if using the default template, you can insert something like this at the end of template.css:
.header-red td.questiontext {
background-color: #FF0000;
}