Welcome to the LimeSurvey Community Forum

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

How to increase the size of the dropdown box

More
6 years 6 months ago - 6 years 6 months ago #180277 by fundacionmarialuisa
Hello. I increased the size of text on the survey adding:
Code:
body,
.form-control {
    font-size: 17px;
}

But now I'm having problems because the dropdown selection boxes cut part of my answer. How can I increase the size of the boxes so the answer fits well enough. Problem
Last edit: 6 years 6 months ago by fundacionmarialuisa.
The topic has been locked.
More
6 years 6 months ago #180351 by tpartner
Can you activate a small test survey and give us a link so we can see the styles affecting the drop-downs?

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.
More
6 years 6 months ago - 6 years 6 months ago #180468 by fundacionmarialuisa
Hello, for sure. Here is the link: encuestaz7.limequery.org/696696?lang=es
The token is: 12345678

I'm using fruity theme, with only the following modifications:

Added the following text to custom.css file, to increase the font size and align numerical input to the left:
Code:
body,
.form-control {
    font-size: 17px;
}
 
.numeric-item input[data-number='1'] {
    text-align: left;
}

And I also modified the question help to be displayed right after the question and not after the answer.

question.twig
Code:
    {# Question Text #}
    {{ include('./subviews/survey/question_subviews/question_text_container.twig') }}
 
    {# Survey question Help #}
    {{ include('./subviews/survey/question_subviews/survey_question_help.twig') }}

Any help is greatly apreciated. The problem is more aparent when using letters like (j,g,y,p).
Last edit: 6 years 6 months ago by fundacionmarialuisa.
The topic has been locked.
More
6 years 6 months ago #180492 by tpartner
Try adding this to the end of custom.css:

Code:
select.form-control {
    height: auto;
}


Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.
More
6 years 6 months ago #180522 by tpartner
Your comment is totally irrelevant to this topic.

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.
Moderators: holchtpartner

Lime-years ahead

Online-surveys for every purse and purpose