List(radio) other text width

More
3 months 3 weeks ago - 3 months 3 weeks ago #157940 by mirelas
mirelas created the topic: List(radio) other text width
Dear all,
I have to change width of other text in List(radio). In template.css I already put this code
.list-radio li.other input.text {
width: 30px;
}
and it works on every List(radio) question. But for only one question I need different width for other text, and for all other questions should stay as I put in template.css.
How to change it? Maybe it could be solved in JavaScript but I don't know how. I use version 2.05.
Would someone please help me?
THANKS!
Last Edit: 3 months 3 weeks ago by mirelas.

Please Log in to join the conversation.

More
3 months 2 weeks ago #157946 by fvanderstarre
fvanderstarre replied the topic: List(radio) other text width
Hi, you need to identify the "different" question's id (qid) and put something like this in your css:

#question5644 .list-radio li.other input.text {
width: ...px;
}

(5644 being your question's id for example), in addition to what you already have for your "normal" other questions.

Please Log in to join the conversation.

More
3 months 2 weeks ago #157998 by mirelas
mirelas replied the topic: List(radio) other text width
It works.Thank you very much!

Please Log in to join the conversation.

Start now!

Just create your account and start using Limesurvey today.

Register now
Join our Newsletter!