Welcome to the LimeSurvey Community Forum

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

Dropdowns and spacing

  • torilee93
  • torilee93's Avatar Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
3 years 7 months ago #205841 by torilee93
Dropdowns and spacing was created by torilee93
Hello,

I have two questions.

1) Is there a way for dropdown's to work when placed in a column? When placed in a column I am unable to access any of my answers in the dropdown.
When not in a column, my dropdowns work. (Please see image)

2) Is there a way to fix the spacing in columns? When I put my questions in 3 columns the first column(Dates) is not lined up with the other two columns. (Please see attached image)

Thank you for your time and answers!

- Tori
Attachments:
The topic has been locked.
  • Joffm
  • Joffm's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
3 years 7 months ago #205843 by Joffm
Replied by Joffm on topic Dropdowns and spacing
Hi, Tori,
as this layout (three dropdowns in columns) is not a standard feature, how did you achieve this?
Best you send your lss export.

And as you see, the displacement is because of the tip. So hide the tips. Best you enter your own tips right into the question text (if you think them to be necessary)

Joffm

Volunteers are not paid.
Not because they are worthless, but because they are priceless
The following user(s) said Thank You: torilee93
The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
3 years 7 months ago #205858 by DenisChenu
Replied by DenisChenu on topic Dropdowns and spacing
@Joffm have totally right : it's not a standard feature

torilee93 wrote: 2) Is there a way to fix the spacing in columns? When I put my questions in 3 columns the first column(Dates) is not lined up with the other two columns. (Please see attached image)

The current solution is usage of flex :
developer.mozilla.org/en-US/docs/Web/CSS/flex
css-tricks.com/snippets/css/a-guide-to-flexbox/

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
The following user(s) said Thank You: torilee93
The topic has been locked.
  • torilee93
  • torilee93's Avatar Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
3 years 7 months ago - 3 years 7 months ago #205885 by torilee93
Replied by torilee93 on topic Dropdowns and spacing
Hi @Joffm,
Thank you so much for helping me with all my questions.
Hiding the tips made everything look better. To do the three columns all I did was write col-sm-4 under display --> class(es)

- Tori
Last edit: 3 years 7 months ago by torilee93.
The topic has been locked.
  • Joffm
  • Joffm's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
3 years 7 months ago #205896 by Joffm
Replied by Joffm on topic Dropdowns and spacing
Hi,
if this question is still actual

When placed in a column I am unable to access any of my answers in the dropdown.


I do not see a problem.
See this example.

File Attachment:

File Name: limesurvey...4949.lss
File Size:27 KB


Joffm

Or did I misunderstand?

Volunteers are not paid.
Not because they are worthless, but because they are priceless
The topic has been locked.
  • torilee93
  • torilee93's Avatar Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
3 years 7 months ago #205927 by torilee93
Replied by torilee93 on topic Dropdowns and spacing
Hi Joffm,

No you did not misunderstand. On mine, when I click on the dropdowns, nothing happens.
I tested the lss file you've attached and it works for me. It's so strange. I exported my non-working question group with the three columns into a new survey and it works now as well.
I also imported your lss question group to my current survey and the dropdowns don't work.
Perhaps it's a glitch somewhere in my current survey? :blink:

One more question, regarding the displacement of columns. The last ones were fixed by hiding the tips but what if there aren't any? (Please see attached image)

- Tori
Attachments:
The topic has been locked.
  • Joffm
  • Joffm's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
3 years 7 months ago #205935 by Joffm
Replied by Joffm on topic Dropdowns and spacing
Hi,
as we don't have seen your original survey we can't say anything about that issue.

Regarding the display.
You may try to set a min-height of the question-container.
Code:
.question-container {
    min-height: 200px;
}



Joffm

Volunteers are not paid.
Not because they are worthless, but because they are priceless
The following user(s) said Thank You: torilee93
The topic has been locked.
  • torilee93
  • torilee93's Avatar Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
3 years 7 months ago #206004 by torilee93
Replied by torilee93 on topic Dropdowns and spacing
@Joffm

Thank you.
Where do I put the question-container code?

- Tori
The topic has been locked.
  • Joffm
  • Joffm's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
3 years 7 months ago #206005 by Joffm
Replied by Joffm on topic Dropdowns and spacing
You may enter it in the first of these questions (source code mode) and with the <style> tags.
I do not think you want to set it into the custom.css.
Code:
<style>
.question-container {
    min-height: 200px;
}
</style>

Volunteers are not paid.
Not because they are worthless, but because they are priceless
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose