- Posts: 15
- Thank you received: 0
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
How can I resize the other button under radio choose ?
- darioc
- Topic Author
- Offline
- New Member
Less
More
7 years 9 months ago #139208
by darioc
How can I resize the other button under radio choose ? was created by darioc
Hi at all,
i've write these lines in template.css, but nothing happened. I've the lastest version of LM.
.list-radio .answer li.other-item input.text {
width: 400px;
}
.multiple-opt li.other-item input.text {
width: 400px;
}
Someone can point me ?
Thanks in advance
Regards
i've write these lines in template.css, but nothing happened. I've the lastest version of LM.
.list-radio .answer li.other-item input.text {
width: 400px;
}
.multiple-opt li.other-item input.text {
width: 400px;
}
Someone can point me ?
Thanks in advance
Regards
The topic has been locked.
- tpartner
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 10103
- Thank you received: 3591
7 years 9 months ago #139222
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 How can I resize the other button under radio choose ?
LimeSurvey version? Template?
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.
- darioc
- Topic Author
- Offline
- New Member
Less
More
- Posts: 15
- Thank you received: 0
7 years 9 months ago #139237
by darioc
Replied by darioc on topic How can I resize the other button under radio choose ?
Version 250plus-build160620
I use the default template
I use the default template
The topic has been locked.
- tpartner
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 10103
- Thank you received: 3591
7 years 9 months ago #139242
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 How can I resize the other button under radio choose ?
This works for me:
Code:
.list-radio .radio-item input.form-control.text { width: 400px; }
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The following user(s) said Thank You: darioc
The topic has been locked.
- darioc
- Topic Author
- Offline
- New Member
Less
More
- Posts: 15
- Thank you received: 0
7 years 9 months ago #139340
by darioc
Replied by darioc on topic How can I resize the other button under radio choose ?
Worked! thanks
The topic has been locked.
- darioc
- Topic Author
- Offline
- New Member
Less
More
- Posts: 15
- Thank you received: 0
7 years 9 months ago #139464
by darioc
Replied by darioc on topic How can I resize the other button under radio choose ?
I don't know what happened, but don't wor with yours suggestion.
So I can Understand how can I modify the template.css to change the "other box" width ?
Tha html code is :
So I can Understand how can I modify the template.css to change the "other box" width ?
Tha html code is :
Code:
<!-- answer_row_other --> <div id='javatbd297228X4X26other' class='col-xs-12 form-group answer-item radio-item radio' > <!-- Checkbox + label --> <div class="pull-left othertext-label-checkox-container"> <input class="radio" type="radio" value="-oth-" name="297228X4X26" id="SOTH297228X4X26" onclick="checkconditions(this.value, this.name, this.type)" aria-labelledby="label-SOTH297228X4X26" /> <label for="SOTH297228X4X26" class="answertext control-label label-radio"></label> <!-- The label text is provided inside a div, so final user can add paragraph, div, or whatever he wants in the subquestion text This field is related to the input thanks to attribute aria-labelledby --> <div class="label-text label-clickable" id="label-SOTH297228X4X26"> NOTE&nbsp; </div> </div> <!-- comment --> <div class="pull-left "> <input type="text" class="form-control text input-sm" id="answer297228X4X26othertext" name="297228X4X26other" title="Altro" value="" onkeyup="if($.trim($(this).val())!=''){ $('#SOTH297228X4X26').click(); }; checkconditions(this.value, this.name, this.type)" /> </div> </div> <!-- end of answer_row_other -->
The topic has been locked.
- tpartner
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 10103
- Thank you received: 3591
7 years 9 months ago #139466
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 How can I resize the other button under radio choose ?
I don't understand why you said it did work and now it doesn't. Can you activate a live test survey and give us a link?
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.
- darioc
- Topic Author
- Offline
- New Member
Less
More
- Posts: 15
- Thank you received: 0
7 years 9 months ago #139468
by darioc
Replied by darioc on topic How can I resize the other button under radio choose ?
Yes, I've recreate a survey and now the code don't work.
I can't give access to the survey, because is in private network and it's not reacheble on internet.
It seems the code .multiple-opt work for multiple choose option but the code .list-radio don't work for radio button.
.multiple-opt input.text {
width: 600px;
}
.list-radio input.text {
width: 600px;
}
If you need some code i give you.
I can't give access to the survey, because is in private network and it's not reacheble on internet.
It seems the code .multiple-opt work for multiple choose option but the code .list-radio don't work for radio button.
.multiple-opt input.text {
width: 600px;
}
.list-radio input.text {
width: 600px;
}
If you need some code i give you.
The topic has been locked.
- tpartner
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 10103
- Thank you received: 3591
7 years 9 months ago #139469
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 How can I resize the other button under radio choose ?
Neither one of those CSS rules are my code. Sorry, I cannot debug it without seeing it live.
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.
- darioc
- Topic Author
- Offline
- New Member
Less
More
- Posts: 15
- Thank you received: 0
7 years 9 months ago #139470
by darioc
Replied by darioc on topic How can I resize the other button under radio choose ?
Can you explain me How I can debug and How can understand the code for the other box ?
I've the latest version of LM.
It's a very big problem to have a small size box.
I've the latest version of LM.
It's a very big problem to have a small size box.
The topic has been locked.
- tpartner
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 10103
- Thank you received: 3591
7 years 9 months ago #139472
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 How can I resize the other button under radio choose ?
Use the developer tools in Chrome or Firebug for Firefox to explore the DOM elements and to see the styles that are affecting them.
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.