Welcome to the LimeSurvey Community Forum

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

List(radio) other text width

  • mirelas
  • mirelas's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
6 years 6 months ago - 6 years 6 months ago #157940 by mirelas
List(radio) other text width was created by mirelas
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: 6 years 6 months ago by mirelas.
The topic has been locked.
More
6 years 6 months ago #157946 by fvanderstarre
Replied by fvanderstarre on 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.
The topic has been locked.
  • mirelas
  • mirelas's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
6 years 6 months ago #157998 by mirelas
Replied by mirelas on topic List(radio) other text width
It works.Thank you very much!
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose