- Posts: 33
- Thank you received: 1
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
Adjust Array Width in Semantic Differential
- flink
- Topic Author
- Offline
- Junior Member
Less
More
9 years 6 months ago #113864
by flink
Adjust Array Width in Semantic Differential was created by flink
Hey everyone,
what I want to do is have a likert scale on the left and the actual items on the right hand side. As a workaround, I thought about making an array type question and using the pipe symbol. For example,
1. | Item text
gives me the item number on the left, the scale in the middle and the item text on the right. Is it possible to adjust the array width for the left and right hand sides separately? Right now, the width is distributed evenly, but I want the left hand side to be narrow and the right hand side to have more space.
Thank you very much!
what I want to do is have a likert scale on the left and the actual items on the right hand side. As a workaround, I thought about making an array type question and using the pipe symbol. For example,
1. | Item text
gives me the item number on the left, the scale in the middle and the item text on the right. Is it possible to adjust the array width for the left and right hand sides separately? Right now, the width is distributed evenly, but I want the left hand side to be narrow and the right hand side to have more space.
Thank you very much!
The topic has been locked.
- tpartner
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 10110
- Thank you received: 3594
9 years 6 months ago #113884
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 Adjust Array Width in Semantic Differential
You can place something like this in template.css (replace "QQ" with your
question ID
).
Code:
#questionQQ table.questions-list col { width: auto; } #questionQQ th.answertext, #questionQQ th.answertextright { width: 200px; }
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.
- flink
- Topic Author
- Offline
- Junior Member
Less
More
- Posts: 33
- Thank you received: 1
9 years 6 months ago #113899
by flink
Replied by flink on topic Adjust Array Width in Semantic Differential
Hi tpartner, thank you for your answer. Unfortunately, the code does not work. In fact, nothing changes.
I am using Version 1.92+ Build 120919, if that is important.
I am using Version 1.92+ Build 120919, if that is important.
The topic has been locked.
- tpartner
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 10110
- Thank you received: 3594
9 years 6 months ago #113903
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 Adjust Array Width in Semantic Differential
Can you activate a test survey for us to see?
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.
- flink
- Topic Author
- Offline
- Junior Member
Less
More
- Posts: 33
- Thank you received: 1
9 years 6 months ago #113904
by flink
Replied by flink on topic Adjust Array Width in Semantic Differential
sure!
dgp-ls.de/limesurvey/index.php?sid=37841&lang=de
like this, or do you need to access the survey backend?
dgp-ls.de/limesurvey/index.php?sid=37841&lang=de
like this, or do you need to access the survey backend?
The topic has been locked.
- tpartner
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 10110
- Thank you received: 3594
9 years 6 months ago #113911
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 Adjust Array Width in Semantic Differential
Try this:
Code:
#question14631 table.question col { width: auto; } #question14631 th.answertext, #question14631 th.answertextright { width: 200px; }
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: flink
The topic has been locked.
- flink
- Topic Author
- Offline
- Junior Member
Less
More
- Posts: 33
- Thank you received: 1
9 years 6 months ago #113912
by flink
Replied by flink on topic Adjust Array Width in Semantic Differential
Got it to work, thank you very much!
The topic has been locked.