- Posts: 16
- Thank you received: 0
Ask the community, share ideas, and connect with other LimeSurvey users!
 Topic Author
                            Topic Author
                                 
        As headers are bold by default you may set the rest to "normal"1. Is is possible to make only selected words bold in the column headers of array questions?
.ls-answers .ls-heading th { font-weight: 400; }
2. In "Multiple Choice with comment" questions, the answer text is aligned to the right if the answer takes up more than one line. Single-line answers are still left-aligned. How can I fix this?
<style> .form-horizontal .control-label { text-align: left;} </style>
 Topic Author
                            Topic Author
                                 
         Topic Author
                            Topic Author
                                 
        <script type="text/javascript" charset="utf-8"> $(document).on('ready pjax:scriptcomplete',function(){ // Identify some stuff var qID = '{QID}'; var thisQuestion = $('#question'+qID); var prevQuestion = thisQuestion.prev('.question-container'); var prevID = prevQuestion.attr('id').replace(/question/, ''); // Loop through previous question rows $('tr[id^="javatbd"]', prevQuestion).each(function(i) { var thisCode = $(this).attr('id').split('X'+prevID)[1]; // Move the row $('table.subquestion-list tbody', thisQuestion).append($('tr[id$="X'+qID+thisCode+'"]', thisQuestion)); }); }); </script>
<script type="text/javascript" charset="utf-8"> $(document).on('ready pjax:scriptcomplete',function(){ // Identify some stuff var qID = '{QID}'; var thisQuestion = $('#question'+qID); var prevQuestion = thisQuestion.prev('.question-container'); var prevID = prevQuestion.attr('id').replace(/question/, ''); // Loop through previous question rows $('li[id^="javatbd"]', prevQuestion).each(function(i) { var thisCode = $(this).attr('id').split('X'+prevID)[1]; // Move the row $('.answers-list ul:eq(0)', thisQuestion).append($('li[id$="X'+qID+thisCode+'"]', thisQuestion)); }); }); </script>
 Topic Author
                            Topic Author
                                