Welcome to the LimeSurvey Community Forum

Ask the community, share ideas, and connect with other LimeSurvey users!

Mandatory array sub-questions bug

More
9 years 8 months ago #148568 by RTOPS
Hi everyone,

I thought I was done with the programming of my first survey, but here is one more (and the last, I hope! :P) bug that I try to resolved. As you can see in the pictures attached, when the page reload because user hasn't answered all the mandatory sub-questions (which is normal and what we want), the new police of the sub-questions (orange background, white bold text) then pile up on the answer columns, which is problematic. Is there a simple way to modify the mandatory sub-questions? I have searched the forum but didn't find what to change in the template.

I would like to have a red color police, same size as the "clean" array sub-questions and not bold, without the orange background.

Template: Ubuntu Orange
LM Version : Version 2.51.4+160908



The topic has been locked.
More
9 years 8 months ago #148569 by RTOPS
The topic has been locked.
More
9 years 8 months ago - 9 years 8 months ago #148593 by tpartner
Try adding something like this to the end of template.css:

Code:
th.answertext .label-danger { background: transparent none; border-radius: 0; color: #df382c; display: inline; font-size: 75%; font-weight: normal; line-height: normal; padding: 0; text-align: left; vertical-align: baseline; white-space: normal; }

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Last edit: 9 years 8 months ago by tpartner.
The following user(s) said Thank You: RTOPS
The topic has been locked.
More
9 years 8 months ago #148606 by RTOPS
It works great! Thanks again Tony :)
The topic has been locked.
Moderators: tpartner, holch

Lime-years ahead

Online-surveys for every purse and purpose