Welcome to the LimeSurvey Community Forum

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

Modify size of text field "other"

  • gbc-research
  • gbc-research's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
11 months 15 hours ago #253306 by gbc-research
Modify size of text field "other" was created by gbc-research
Please help us help you and fill where relevant:
Your LimeSurvey version: LimeSurvey Community Edition Version 6.3.8+231204
Own server or LimeSurvey hosting: Own server
Survey theme/template: Bootstrap Vanilla/Bootwatch
==================
Since upgrading our LS CE installation to LS 6 the custom css code we used to expand the size of the "other" text field does not work anymore (see enclosed screenshots of the same question in LS 5 and LS 6).

css code was taken from the following 2020 forum post:https://forums.limesurvey.org/forum/design-issues/122939-modify-width-of-text-box-for-response-other)


Checked all forums but only found posts for LS5.

Checked the issue for both themes Bootstrap Vanilla & Bootwatch, same result

Thank you for your support.
 

Please Log in to join the conversation.

  • holch
  • holch's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
11 months 10 hours ago #253317 by holch
Replied by holch on topic Modify size of text field "other"
Question also asked in the German forum.
forums.limesurvey.org/forum/german-forum...antwortfeld-anpassen

Please do not cross post. This can lead to people responding to issues that have already been solved.

I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.

Please Log in to join the conversation.

  • gbc-research
  • gbc-research's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
11 months 10 hours ago #253324 by gbc-research
Replied by gbc-research on topic Modify size of text field "other"
Sorry! Was not aware of the cross posting issue. Thanks for the advise.

Please Log in to join the conversation.

More
10 hours 52 minutes ago #267874 by Sarina22
Replied by Sarina22 on topic Modify size of text field "other"
Hi dear Community,
I am also searching for a solution in LS6 to change the size (width) of the "other" text field in one specific question (so not overall in custom.css for the whole survey). I checked the version of this question in the German forum as well, but didn't find the answer there either.
I use LimeSurvey Community Edition Version 6.6.1+240806

Thank you very much in advance for any advice!

Please Log in to join the conversation.

  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
9 hours 50 minutes ago #267878 by tpartner
Replied by tpartner on topic Modify size of text field "other"
Try adding something like this to the question source:

Code:
<style type="text/css" data-author="Tony Partner">
 
 
    #question{QID} .text-item input.form-control {
        width: 500px;
        max-width: 100%;
    }
</style>

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.

Please Log in to join the conversation.

Moderators: tpartnerholch

Lime-years ahead

Online-surveys for every purse and purpose