Check out the LimeSurvey source code on GitHub!
Welcome, Guest
Username: Password:

TOPIC: Help with question

Help with question 2 years 9 months ago #105954

  • Serafim
  • Serafim's Avatar
  • Offline
  • Expert Lime
  • Posts: 115
  • Thank you received: 2
  • Karma: 2
Hi there everyone,

I have a "multiple numeric" question type, where I have more or less 30 names, and from those 30 names I must give 5 points as I want among those 30 names. So far so good. My problem is, those 30 names are in a single column, my questio is, can I divide those 30 names in 2 or 3 columns?

Thanks everyone.
The administrator has disabled public write access.

Help with question 2 years 9 months ago #105986

  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Team
  • Posts: 6571
  • Thank you received: 1477
  • Karma: 579
Try adding something like this to the end of template.css. Replace "QQ" with the question ID.

#questionQQ ul.subquestions-list  {
	display:block;
}
 
#questionQQ li.question-item {
	display:block;
	float:left;
	width: 30%;
}
Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The administrator has disabled public write access.
The following user(s) said Thank You: Serafim

Help with question 2 years 9 months ago #105994

  • Serafim
  • Serafim's Avatar
  • Offline
  • Expert Lime
  • Posts: 115
  • Thank you received: 2
  • Karma: 2
Tanks, it works. I just have to straighten the box where e put the number.
The administrator has disabled public write access.

Help with question 2 years 9 months ago #106036

  • Serafim
  • Serafim's Avatar
  • Offline
  • Expert Lime
  • Posts: 115
  • Thank you received: 2
  • Karma: 2
Hi again,

with your code it works fine but I have another question, in my attachment, I the 2 quastions, the first with your code, the second the normal from Limesurvey, how do I straighten the box where we put the number?

Last Edit: 2 years 9 months ago by Serafim.
The administrator has disabled public write access.

Help with question 2 years 9 months ago #106040

  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Team
  • Posts: 6571
  • Thank you received: 1477
  • Karma: 579
Something like this (you will need to play with the width):

#questionQQ li.question-item label {
	width: 70%;
}
Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Last Edit: 2 years 9 months ago by tpartner.
The administrator has disabled public write access.
The following user(s) said Thank You: Serafim

Help with question 2 years 9 months ago #106044

  • Serafim
  • Serafim's Avatar
  • Offline
  • Expert Lime
  • Posts: 115
  • Thank you received: 2
  • Karma: 2
Thats it. Thanks.
The administrator has disabled public write access.
Time to create page: 0.253 seconds
Imprint                   Privacy policy         General Terms & Conditions         Revocation information and revocation form