- Posts: 3
- Thank you received: 0
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
set box text input width for other
- vickibellamy
- Topic Author
- Offline
- New Member
Less
More
13 years 6 months ago #49594
by vickibellamy
set box text input width for other was created by vickibellamy
Hi there,
Is it possible to set the box text input width for other in a radio list, I have looked
into attributes and cant see it there as I know this is possible with a simple text input field.
Is it possible to set the box text input width for other in a radio list, I have looked
into attributes and cant see it there as I know this is possible with a simple text input field.
The topic has been locked.
- tpartner
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 10109
- Thank you received: 3593
13 years 6 months ago #49597
by tpartner
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Replied by tpartner on topic set box text input width for other
Add the following to the end of template.css:
Code:
.list-radio li.other input.text { width: 300px; }
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.
- vickibellamy
- Topic Author
- Offline
- New Member
Less
More
- Posts: 3
- Thank you received: 0
13 years 6 months ago #49605
by vickibellamy
Replied by vickibellamy on topic set box text input width for other
thanks this works brilliant, so if I would like to apply the same to a multiple option question so that the option text field is 300px surely this would be the css to add?
.multiple-opt li.other input.text {
width: 550px;
}
doesnt seem to work though
.multiple-opt li.other input.text {
width: 550px;
}
doesnt seem to work though
The topic has been locked.
- tpartner
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 10109
- Thank you received: 3593
13 years 6 months ago #49606
by tpartner
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Replied by tpartner on topic set box text input width for other
No, that ones set up a little differently:
Code:
.multiple-opt input.text { width: 550px; }
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.
- vickibellamy
- Topic Author
- Offline
- New Member
Less
More
- Posts: 3
- Thank you received: 0
13 years 6 months ago #49607
by vickibellamy
Replied by vickibellamy on topic set box text input width for other
You are a genius!
The topic has been locked.
- Mazi
- Offline
- Official LimeSurvey Partner
13 years 6 months ago #49644
by Mazi
Best regards/Beste Grüße,
Dr. Marcel Minke
Need Help? We offer professional Limesurvey support: survey-consulting.com
Contact: marcel.minke(at)survey-consulting.com
Replied by Mazi on topic set box text input width for other
You're welcome!
If our hints have been helpful and you enjoy limesurvey please consider a donation to the team .
We do all this in our free time and you don't have to pay a penny for this software.
Without your help we can't keep this project alive.
If our hints have been helpful and you enjoy limesurvey please consider a donation to the team .
We do all this in our free time and you don't have to pay a penny for this software.
Without your help we can't keep this project alive.
Best regards/Beste Grüße,
Dr. Marcel Minke
Need Help? We offer professional Limesurvey support: survey-consulting.com
Contact: marcel.minke(at)survey-consulting.com
The topic has been locked.
- brydon
- Offline
- New Member
Less
More
- Posts: 4
- Thank you received: 0
13 years 6 months ago #50203
by brydon
Replied by brydon on topic Any reason this would not work?
I added this code to the end of template.css in the active template directory. I checked the page source and it is pointing to the right template.css file. But alas, no change to the width of the "other" input box.
Anyone else have problems with this? Any help would be appreciated.
Anyone else have problems with this? Any help would be appreciated.
The topic has been locked.
- tpartner
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 10109
- Thank you received: 3593
13 years 6 months ago #50215
by tpartner
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Replied by tpartner on topic Any reason this would not work?
brydon, what question type are you using?
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.
- brydon
- Offline
- New Member
Less
More
- Posts: 4
- Thank you received: 0
13 years 6 months ago #50530
by brydon
Replied by brydon on topic Any reason this would not work?
The question type is "List (radio)"
The last few lines of template.css in the relevant template directory are:
.list-radio li.other input.text {
width: 300px;
}
The last few lines of template.css in the relevant template directory are:
.list-radio li.other input.text {
width: 300px;
}
The topic has been locked.
- tpartner
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 10109
- Thank you received: 3593
13 years 6 months ago #50549
by tpartner
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Replied by tpartner on topic Any reason this would not work?
Can you activate a sample survey so we can check to see what is interfering?
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.